public class IpcClientTcpEndpoint extends Object implements IpcEndpoint
| Constructor and Description |
|---|
IpcClientTcpEndpoint(Socket clientSock)
Creates connected client IPC endpoint.
|
IpcClientTcpEndpoint(String host,
int port)
Creates and connects client IPC endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes endpoint.
|
InputStream |
inputStream()
Gets input stream associated with this IPC endpoint.
|
OutputStream |
outputStream()
Gets output stream associated with this IPC endpoint.
|
public IpcClientTcpEndpoint(Socket clientSock)
clientSock - Connected client socket.public IpcClientTcpEndpoint(String host, int port) throws IgniteCheckedException
port - Port.host - Host.IgniteCheckedException - If connection fails.public InputStream inputStream() throws IgniteCheckedException
inputStream in interface IpcEndpointIgniteCheckedException - If error occurred.public OutputStream outputStream() throws IgniteCheckedException
outputStream in interface IpcEndpointIgniteCheckedException - If error occurred.public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface IpcEndpoint
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018