|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.protocol.impl.SocketStreamSource
ca.uhn.hl7v2.protocol.impl.ClientSocketStreamSource
public class ClientSocketStreamSource
A client-side SocketStreamSource.
| Constructor Summary | |
|---|---|
ClientSocketStreamSource(java.net.SocketAddress theAddress)
|
|
| Method Summary | |
|---|---|
void |
connect()
Gets fresh instances of sockets. |
java.net.Socket |
getSocket()
|
| Methods inherited from class ca.uhn.hl7v2.protocol.impl.SocketStreamSource |
|---|
disconnect, getInboundStream, getOutboundStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientSocketStreamSource(java.net.SocketAddress theAddress)
throws TransportException
theSharedAddress - the address at which to connect sockets
TransportException| Method Detail |
|---|
public java.net.Socket getSocket()
getSocket in class SocketStreamSourceSocketStreamSource.getSocket()
public void connect()
throws TransportException
connect in interface StreamSourceconnect in class SocketStreamSourceTransportException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||