public class ClientSocketStreamSource extends SocketStreamSource
SocketStreamSource.| Constructor and Description |
|---|
ClientSocketStreamSource(SocketAddress theAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Gets fresh instances of sockets.
|
Socket |
getSocket() |
disconnect, getInboundStream, getOutboundStreampublic ClientSocketStreamSource(SocketAddress theAddress) throws TransportException
theAddress - the address at which to connect socketsTransportExceptionpublic Socket getSocket()
getSocket in class SocketStreamSourceSocketStreamSource.getSocket()public void connect() throws TransportException
connect in interface StreamSourceconnect in class SocketStreamSourceTransportExceptionCopyright © 2001–2017 University Health Network. All rights reserved.