コード例 #1
0
 internal SOCKSReaderThread(SOCKSTransportImpl transport, Protocol messageType)
 {
     this.transport       = transport;
     this.messageType     = messageType;
     this.stopped         = false;
     _thread              = new Thread(_ => run());
     _thread.Name         = "AMPS C# Client Background Reader Thread";
     _thread.IsBackground = true;
     _thread.Start();
 }
コード例 #2
0
 protected virtual void createImpl()
 {
     this.impl = new SOCKSTransportImpl(this.protocol, this.properties);
 }