public abstract static class ServiceDispatcher.ExecutingRunnable extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected DataChannel |
channel |
protected boolean |
expectResponse |
protected TextProtocol |
protocol |
| Constructor and Description |
|---|
ExecutingRunnable(DataChannel channel,
TextProtocol protocol,
boolean expectResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TextProtocol.ResponseMessage |
getResponse(TextProtocol.RequestMessage request) |
protected abstract void |
logMessage(String message) |
void |
run() |
protected final DataChannel channel
protected final TextProtocol protocol
protected final boolean expectResponse
public ExecutingRunnable(DataChannel channel, TextProtocol protocol, boolean expectResponse)
protected abstract TextProtocol.ResponseMessage getResponse(TextProtocol.RequestMessage request) throws IOException
IOExceptionprotected abstract void logMessage(String message)
Copyright © 2024. All rights reserved.