Package io.github.qishr.cascara.common.exec.ipc
Class IpcServer
java.lang.Object
io.github.qishr.cascara.common.exec.ipc.IpcServer
All Implemented Interfaces:
AutoCloseable
public class IpcServer
Field Summary
| Modifier and Type | Field | Description |
|---|---|---|
| public static final String | SERIALIZATION_FORMAT |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public static IpcServer | start(boolean diagnosticForwarding, boolean ipcDebugEnabled) | |
| public synchronized void | listenAsync() | |
| public Path | getSocketPath() | |
| public List |
getMessages(Class |
|
| public void | close() |
Field Details
SERIALIZATION_FORMAT
public static final String SERIALIZATION_FORMAT
See Also:
Method Details
start
@io.github.qishr.cascara.common.annotation.NonNull
public static IpcServer start(boolean diagnosticForwarding, boolean ipcDebugEnabled)
Throws:
listenAsync
public synchronized void listenAsync()
getSocketPath
@io.github.qishr.cascara.common.annotation.NonNull
public Path getSocketPath()
getMessages
@io.github.qishr.cascara.common.annotation.NonNull
public List
close
public void close()
Throws:
Specified By: