/// <seealso cref="Genetibase.NuGenHL7.protocol.AbstractTransport.doConnect()">
 /// </seealso>
 public override void  doConnect()
 {
     myStreamSource.connect();
     try
     {
         myReader = new MinLLPReader(myStreamSource.InboundStream);
         myWriter = new MinLLPWriter(myStreamSource.OutboundStream);
     }
     catch (System.IO.IOException e)
     {
         throw new NuGenTransportException(e);
     }
 }
 /// <seealso cref="Genetibase.NuGenHL7.protocol.TransportLayer.disconnect()">
 /// </seealso>
 public override void  doDisconnect()
 {
     try
     {
         if (myReader != null)
         {
             myReader.close();
         }
         if (myWriter != null)
         {
             myWriter.close();
         }
     }
     catch (System.IO.IOException e)
     {
         throw new NuGenTransportException(e);
     }
     finally
     {
         myReader = null;
         myWriter = null;
     }
     myStreamSource.disconnect();
 }