Class ExternalProcessExecutor.IPC
java.lang.Object
org.ojalgo.concurrent.ExternalProcessExecutor.IPC
- Enclosing class:
ExternalProcessExecutor
Inter-Process Communication
Frame format: [MAGIC:8][VER:1][LEN:4][PAYLOAD:LEN][CRC32:4]
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static <T> TreadFrame(InputStream in, Class<T> type) private static voidreadFully(InputStream in, byte[] buf, int off, int len) private static intreadInt(InputStream in) (package private) static voidwriteFrame(OutputStream out, Object obj) private static voidwriteInt(OutputStream out, int v) private static voidwriteLong(OutputStream out, long v)
-
Field Details
-
MAGIC
private static final long MAGIC- See Also:
-
MAX_FRAME_SIZE
private static final int MAX_FRAME_SIZE- See Also:
-
VERSION
private static final int VERSION- See Also:
-
-
Constructor Details
-
IPC
IPC()
-
-
Method Details
-
readFully
- Throws:
IOException
-
readInt
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
readFrame
- Throws:
IOExceptionClassNotFoundException
-
writeFrame
- Throws:
IOException
-