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