Ejemplo n.º 1
0
 public void shutdown(Exception closeReason)
 {
     lock (locker)
     {
         this.closeReason = closeReason;
     }
     if (this.local != null)
     {
         manager.removeProtocolTransport(this);
     }
     else
     {
         ((ClientManagerImpl)manager).connectAbort(this);
     }
 }
Ejemplo n.º 2
0
 public void shutdown(bool eventually, Exception closeReason)
 {
     lock (locker)
     {
         this.closeReason = closeReason;
     }
     if (eventually)
     {
         manager.removeProtocolTransport(this);
     }
     else
     {
         ((ClientManagerImpl)manager).connectAbort(this);
     }
 }