/// <summary>
 /// Base constructor of the class.
 /// </summary>
 public BaseMessageServer() : base()
 {
     OnClientBeforeConnect += new BeforeConnectedHandler(BaseMessageServer_OnClientBeforeConnect);
     OnClientDataReceived  += new DataCommunicationHandler(BaseMessageServer_OnDataReceived);
     OnClientAfterDataSent += new DataCommunicationHandler(BaseMessageServer_OnDataSent);
     _userlimit             = 0;
 }
Example #2
0
 /// <summary>
 /// Base constructor of the class.
 /// </summary>
 public BaseMessageServer()
     : base()
 {
     OnClientBeforeConnect += new BeforeConnectedHandler(BaseMessageServer_OnClientBeforeConnect);
     OnClientDataReceived += new DataCommunicationHandler(BaseMessageServer_OnDataReceived);
     OnClientAfterDataSent += new DataCommunicationHandler(BaseMessageServer_OnDataSent);
     _userlimit = 0;
 }
Example #3
0
 /// <summary>
 /// Base constructor of the class.
 /// </summary>
 public BaseMessageClient()
 {
     OnDataReceived += new DataCommunicationHandler(BaseMessageClient_OnDataReceived);
     OnAfterDataSent += new DataCommunicationHandler(BaseMessageClient_OnDataSent);
     OnConnectFailed += new ConnectionFailedHandler(BaseMessageClient_OnConnectFailed);
 }
 /// <summary>
 /// Base constructor of the class.
 /// </summary>
 public BaseMessageClient()
 {
     OnDataReceived  += new DataCommunicationHandler(BaseMessageClient_OnDataReceived);
     OnAfterDataSent += new DataCommunicationHandler(BaseMessageClient_OnDataSent);
     OnConnectFailed += new ConnectionFailedHandler(BaseMessageClient_OnConnectFailed);
 }