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, getOutboundStream
public ClientSocketStreamSource(SocketAddress theAddress) throws TransportException
theAddress
- the address at which to connect socketsTransportException
public Socket getSocket()
getSocket
in class SocketStreamSource
SocketStreamSource.getSocket()
public void connect() throws TransportException
connect
in interface StreamSource
connect
in class SocketStreamSource
TransportException
Copyright © 2001–2017 University Health Network. All rights reserved.