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