예제 #1
0
 public InboundSocket(string host, int port, string password, string filter = "ALL", int connect_timeout = 5, bool eventjson = true)
     : base(filter, eventjson)
 {
     this.host            = host;
     this.port            = port;
     this.password        = password;
     this._filter         = filter;
     this.connect_timeout = connect_timeout;
     this._eventjsons     = eventjson;
     transport            = new InboundTransport(host, port, connect_timeout);
 }
예제 #2
0
 public InboundSocket(string host, int port, string password, string filter = "ALL", int connect_timeout = 5, bool eventjson = true)
     : base(filter, eventjson)
 {
     this.host = host;
     this.port = port;
     this.password = password;
     this._filter = filter;
     this.connect_timeout = connect_timeout;
     this._eventjsons = eventjson;
     transport = new InboundTransport(host, port, connect_timeout);
 }