Package io.github.qishr.cascara.common.exec.ipc
Class IpcClient
java.lang.Object
io.github.qishr.cascara.common.exec.ipc.IpcClient
All Implemented Interfaces:
AutoCloseable
public final class IpcClient
Field Summary
| Modifier and Type | Field | Description |
|---|---|---|
| public static final String | SOCKET_PROP |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public static IpcClient | tryConnect(Serializer<?> serializer) | |
| public long | getServerProcessId() | |
| public Serializer<?> | getSerializer() | |
| public synchronized void | send(Object message) | |
| public void | close() |
Field Details
SOCKET_PROP
public static final String SOCKET_PROP
See Also:
Method Details
tryConnect
public static IpcClient tryConnect(Serializer<?> serializer)
getServerProcessId
public long getServerProcessId()
getSerializer
public Serializer<?> getSerializer()
send
public synchronized void send(Object message)
Throws:
close
public void close()
Throws:
Specified By: