/// <summary> Accepts new connections on underlying ServerSocket, replacing 
		/// any existing socket with the new one, blocking until a connection 
		/// is available.  See {@link DualTransportConnector} for a method of 
		/// connecting two <code>TransportLayer</code>s in a way that avoids deadlock.    
		/// 
		/// </summary>
		/// <seealso cref="Genetibase.NuGenHL7.protocol.StreamSource.connect()">
		/// </seealso>
		public override void  connect()
		{
			Acceptor a = new Acceptor(myServerSocket, myExpectedAddress);
			mySocket = a.waitForSocket();
		}
Esempio n. 2
0
        /// <summary> Accepts new connections on underlying ServerSocket, replacing
        /// any existing socket with the new one, blocking until a connection
        /// is available.  See {@link DualTransportConnector} for a method of
        /// connecting two <code>TransportLayer</code>s in a way that avoids deadlock.
        ///
        /// </summary>
        /// <seealso cref="Genetibase.NuGenHL7.protocol.StreamSource.connect()">
        /// </seealso>
        public override void  connect()
        {
            Acceptor a = new Acceptor(myServerSocket, myExpectedAddress);

            mySocket = a.waitForSocket();
        }