Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Ip string Connection net.Conn UDPConnection *net.UDPConn QUICConnection quic.Connection QUICStream quic.Stream AdaptId int }
func (Client) Initialize ¶
func (c Client) Initialize()
type FunctionalReply ¶
type FunctionalReply struct {
Rep interface{} `json:"Rep"`
}
type FunctionalRequest ¶
type FunctionalRequest struct { Op string `json:"Op"` Params []interface{} `json:"Params"` }
type Invocation ¶
type Invocation struct { Endpoint EndPoint Functionalrequest FunctionalRequest }
type ReceivedMessages ¶
type RequestorInfo ¶
type RequestorInfo struct { Inv Invocation MarshalledMessage []byte }
type SAMRequest ¶
type SAMRequest struct { Op string `json:"Op"` Params []interface{} `json:"Params"` }
type SAMessage ¶
type SAMessage struct { From string `json:"From"` To string `json:"To"` ToAddr string `json:"ToAddr"` Payload interface{} `json:"Payload"` }
Software architecture message
type SRHInfo ¶
type SRHInfo struct { EndPoint EndPoint // host, port Protocol generic.Protocol // generic.Protocol (TCP, UDP, QUIC) Ln net.Listener // Listener QUICLn quic.Listener // Listener Conns []net.Conn // Set of connections QUICConns []quic.Connection // Set of connections CurrentConn net.Conn // Current connection UDPConnection *net.UDPConn // UDP Connection RcvedMessages chan ReceivedMessages // Buffer of messages received by the server Clients []*Client // Connection Pool, possible connected // Counter int ExecuteForever *bool }
func (SRHInfo) GetClientFromAdaptId ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.