Exemple #1
0
 /// <summary>
 /// Gets executed when the server needs to shutdown the connection.
 /// </summary>
 public abstract void OnDropConnection(ConnectionState state);
Exemple #2
0
 /// <summary>
 /// Gets executed when the server accepts a new connection.
 /// </summary>
 ///
 public abstract void OnAcceptConnection(ConnectionState state);
Exemple #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);
Exemple #4
0
 public abstract void OnRetryConnect(ConnectionState state);