public void Dispose()
 {
     if (nextprocessor != null)
     {
         using (nextprocessor) { }
     }
     using (IOBuffer) { }
     nextprocessor = null;
     Conn          = null;
 }
 public void Dispose()
 {
     //throw new NotImplementedException();
     if (processor != null)
     {
         using (processor) { }
     }
     conn      = null;
     processor = null;
     using (Buffer) { }
 }
Example #3
0
 private void UserException(IWorkingSocket Conn, Exception ex)
 {
     try
     {
         if (OnUserException != null)
         {
             OnUserException(this, ex);
         }
     }
     catch (Exception subex)
     {
         RaisError(subex, "error on exception");
     }
 }
 public void Dispose()
 {
     //throw new NotImplementedException();
     if (processor != null)
     {
         using (processor) { }
         processor = null;
     }
     using (IObufer) { }
     Steps.Clear();
     Steps       = null;
     conn        = null;
     CurrentStep = null;
 }
 public void Init(IWorkingSocket Sock)
 {
     Conn = Sock;
 }
 public void Init(IWorkingSocket Sock)
 {
     //throw new NotImplementedException();
     conn   = Sock;
     Buffer = new MemoryStream();
 }