コード例 #1
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;
 }
コード例 #2
0
ファイル: BaseMessageServer.cs プロジェクト: tsiru/pcsx2
 /// <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;
 }
コード例 #3
0
ファイル: BaseMessageClient.cs プロジェクト: tsiru/pcsx2
 /// <summary>
 /// Base constructor of the class.
 /// </summary>
 public BaseMessageClient()
 {
     OnDataReceived += new DataCommunicationHandler(BaseMessageClient_OnDataReceived);
     OnAfterDataSent += new DataCommunicationHandler(BaseMessageClient_OnDataSent);
     OnConnectFailed += new ConnectionFailedHandler(BaseMessageClient_OnConnectFailed);
 }
コード例 #4
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);
 }