コード例 #1
0
ファイル: VPJClient.cs プロジェクト: twardy5/PayWorldAdapter
 public void ReConnect(string host, int port)
 {
     if (communication != null)
     {
         this.communication.StopReciving();
         this.communication.MessageRecivedEvent -= MessageRecived;
     }
     this.communication = new CommunicationTCPIP(host, port, Timeout);
     this.communication.MessageRecivedEvent += MessageRecived;
 }
コード例 #2
0
ファイル: VPJClient.cs プロジェクト: twardy5/PayWorldAdapter
 public VPJClient(string host, int port)
 {
     this.communication = new CommunicationTCPIP(host, port, Timeout);
     this.communication.MessageRecivedEvent += MessageRecived;
 }