public interface ServerOutput
| Modifier and Type | Method and Description |
|---|---|
boolean |
sendMessage(TransportMessage transportMessage)
Sends a message according to the single message protocol.
|
boolean |
sendResponse(ServerResponse response)
Sends a response according to the request response protocol.
|
boolean sendMessage(TransportMessage transportMessage)
Sends a message according to the single message protocol.
Returns false if the message cannot be currently written due to exhausted capacity. Throws an exception if the request is not sendable at all (e.g. buffer writer throws exception).
boolean sendResponse(ServerResponse response)
Sends a response according to the request response protocol.
Returns null if the response cannot be currently written due to exhausted capacity. Throws an exception if the response is not sendable at all (e.g. buffer writer throws exception).
Copyright © 2017–2018 camunda services GmbH. All rights reserved.