Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes this session
|
|
OnPacketReceived ( Array packet ) : void |
Callback to be used by Connection.OnPacketReceived in secure transport
|
|
Session ( Microsoft.Azure.Networking.Infrastructure.RingMaster.Server.RingMasterServer server, ulong sessionId, Func onInitSession, IConnection connection, ICommunicationProtocol protocol, IRingMasterServerInstrumentation instrumentation ) : System |
Initializes a new instance of the Session class.
|
Méthode | Description | |
---|---|---|
MakeWatcher ( IWatcher watcher ) : IWatcher | ||
ProcessRequest ( IRingMasterRequest request, Action onCompletion ) : void | ||
SendWatcherNotification ( WatcherCall watcherCall ) : void |
Sends the watcher notification
|
public OnPacketReceived ( Array packet ) : void | ||
packet | Array | Packet received from the TCP connection |
Résultat | void |
public Session ( Microsoft.Azure.Networking.Infrastructure.RingMaster.Server.RingMasterServer server, ulong sessionId, Func onInitSession, IConnection connection, ICommunicationProtocol protocol, IRingMasterServerInstrumentation instrumentation ) : System | ||
server | Microsoft.Azure.Networking.Infrastructure.RingMaster.Server.RingMasterServer | Ring Master server object |
sessionId | ulong | Session ID |
onInitSession | Func | Callback when the session is initialized |
connection | IConnection | Secure Transport connection object |
protocol | ICommunicationProtocol | Protocol object for sending/receiving responses |
instrumentation | IRingMasterServerInstrumentation | Instrumentation object |
Résultat | System |