Exemple #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);
     }
 }
Exemple #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);
     }
 }
Exemple #3
0
 public abstract void Shutdown(TransportShutdownOption how);
Exemple #4
0
 public override void Shutdown(TransportShutdownOption how)
 {
     this.innerTransport.Shutdown(how);
 }
Exemple #5
0
 public override void Shutdown(TransportShutdownOption how)
 {
     this.innerTransport.Shutdown(how);
 }
Exemple #6
0
 public abstract void Shutdown(TransportShutdownOption how);