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
IOException
void send(int messageId, com.facebook.buck.worker.WorkerProcessCommand command) throws IOException
IOException
WorkerProcessProtocol.CommandResponse receiveNextCommandResponse() throws IOException
IOException
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException