예제 #1
0
        public void RaiseDuplexChannelClosed(DuplexSide duplexSide, SocketError?socketError, Exception exception)
        {
            EventHandler <ChannelCloseEventArgs> handler = DuplexChannelClosed;

            if (handler != null)
            {
                handler(this, new ChannelCloseEventArgs(duplexSide, socketError, exception));
            }
        }
예제 #2
0
 public ChannelCloseEventArgs(DuplexSide duplexSide, SocketError?socketError, Exception exception)
 {
     this.duplexSide  = duplexSide;
     this.socketError = socketError;
     this.exception   = exception;
 }
예제 #3
0
 public ChannelCloseEventArgs(DuplexSide duplexSide, SocketError? socketError, Exception exception)
 {
     this.duplexSide = duplexSide;
     this.socketError = socketError;
     this.exception = exception;
 }
예제 #4
0
 public void RaiseDuplexChannelClosed(DuplexSide duplexSide, SocketError? socketError, Exception exception)
 {
     EventHandler<ChannelCloseEventArgs> handler = DuplexChannelClosed;
     if (handler != null)
     {
         handler(this, new ChannelCloseEventArgs(duplexSide, socketError, exception));
     }
 }