Class WorkerWire
java.lang.Object
io.github.protasm.jvmud.execution.application.worker.WorkerWire
Bounded JSON messages carried only over inherited parent/worker pipes, never a public admin socket.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordWorker boot request; no engine credentials are inherited.static final recordReadiness metadata returned only after boot and private transport startup succeed.static final recordA command session request; OPEN and CLOSE isolate each administrator's state.static final recordCommand result from a worker's serialized execution queue. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tread(DataInputStream in, Class<T> type) Reads one complete message with an allocation limit.static voidwrite(DataOutputStream out, Object message) Sends one framed message, preserving pipes when game code writes to System.out.
-
Method Details
-
write
Sends one framed message, preserving pipes when game code writes to System.out.- Throws:
IOException
-
read
Reads one complete message with an allocation limit.- Throws:
IOException
-