public static interface WorkerProcessProtocol.CommandSender extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Instructs the CommandReceiver to shut itself down.
|
void |
handshake(int messageId) |
WorkerProcessProtocol.CommandResponse |
receiveNextCommandResponse() |
void |
send(int messageId,
com.facebook.buck.worker.WorkerProcessCommand command) |
void handshake(int messageId)
throws IOException
IOExceptionvoid send(int messageId,
com.facebook.buck.worker.WorkerProcessCommand command)
throws IOException
IOExceptionWorkerProcessProtocol.CommandResponse receiveNextCommandResponse() throws IOException
IOExceptionvoid close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException