ca.uhn.hl7v2.protocol.impl
Class ClientSocketStreamSource
java.lang.Object
ca.uhn.hl7v2.protocol.impl.SocketStreamSource
ca.uhn.hl7v2.protocol.impl.ClientSocketStreamSource
- All Implemented Interfaces:
- StreamSource
public class ClientSocketStreamSource
- extends SocketStreamSource
A client-side SocketStreamSource.
- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:26 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientSocketStreamSource
public ClientSocketStreamSource(SocketAddress theAddress)
throws TransportException
- Parameters:
theSharedAddress - the address at which to connect sockets
- Throws:
TransportException
getSocket
public Socket getSocket()
- Specified by:
getSocket in class SocketStreamSource
- Returns:
- a socket from which input and output streams for message exchages
are to be obtained
- See Also:
SocketStreamSource.getSocket()
connect
public void connect()
throws TransportException
- Gets fresh instances of sockets.
- Specified by:
connect in interface StreamSource- Specified by:
connect in class SocketStreamSource
- Throws:
TransportException
Copyright © 2001-2012 University Health Network. All Rights Reserved.