Esempio n. 1
0
 public override void Shutdown(TransportShutdownOption how)
 {
     if (how == TransportShutdownOption.Read)
     {
         this.socket.Shutdown(SocketShutdown.Receive);
     }
     else if (how == TransportShutdownOption.Write)
     {
         this.socket.Shutdown(SocketShutdown.Send);
     }
     else if (how == TransportShutdownOption.ReadWrite)
     {
         this.socket.Shutdown(SocketShutdown.Both);
     }
 }
Esempio n. 2
0
 public override void Shutdown(TransportShutdownOption how)
 {
     if (how == TransportShutdownOption.Read)
     {
         this.socket.Shutdown(SocketShutdown.Receive);
     }
     else if (how == TransportShutdownOption.Write)
     {
         this.socket.Shutdown(SocketShutdown.Send);
     }
     else if (how == TransportShutdownOption.ReadWrite)
     {
         this.socket.Shutdown(SocketShutdown.Both);
     }
 }
Esempio n. 3
0
 public abstract void Shutdown(TransportShutdownOption how);
Esempio n. 4
0
 public override void Shutdown(TransportShutdownOption how)
 {
     this.innerTransport.Shutdown(how);
 }
Esempio n. 5
0
 public override void Shutdown(TransportShutdownOption how)
 {
     this.innerTransport.Shutdown(how);
 }
Esempio n. 6
0
 public abstract void Shutdown(TransportShutdownOption how);