Exemplo n.º 1
0
 /// <summary>
 /// Gets executed when the server needs to shutdown the connection.
 /// </summary>
 public abstract void OnDropConnection(ConnectionState state);
Exemplo n.º 2
0
 /// <summary>
 /// Gets executed when the server accepts a new connection.
 /// </summary>
 ///
 public abstract void OnAcceptConnection(ConnectionState state);
Exemplo n.º 3
0
 /// <summary>
 /// Gets executed when the server detects incoming data.
 /// This method is called only if OnAcceptConnection has already finished.
 /// </summary>
 public abstract void OnReceiveData(ConnectionState state);
Exemplo n.º 4
0
 public abstract void OnRetryConnect(ConnectionState state);