| Package | Description |
|---|---|
| io.zeebe.transport | |
| io.zeebe.transport.impl |
| Modifier and Type | Method and Description |
|---|---|
RemoteAddress |
RemoteAddressList.getByAddress(SocketAddress inetSocketAddress) |
RemoteAddress |
RemoteAddressList.getByStreamId(int streamId) |
RemoteAddress |
RequestResponseController.getReceiverRemote() |
RemoteAddress |
ClientTransport.getRemoteAddress(int streamId) |
RemoteAddress |
ClientTransport.getRemoteAddress(SocketAddress addr) |
RemoteAddress |
RemoteAddressList.register(SocketAddress inetSocketAddress) |
RemoteAddress |
ClientTransport.registerRemoteAddress(SocketAddress addr)
Resolve a socket address as a remote to which data can be sent.
|
RemoteAddress |
ClientTransport.registerRemoteAndAwaitChannel(SocketAddress addr)
DO NOT USE in production code as it involves blocking the current thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteAddressList.deactivate(RemoteAddress remote) |
void |
ClientTransport.deactivateRemoteAddress(RemoteAddress remote)
Signals that the remote is no longer in use for the time being.
|
void |
TransportListener.onConnectionClosed(RemoteAddress remoteAddress) |
void |
TransportListener.onConnectionEstablished(RemoteAddress remoteAddress) |
boolean |
ClientMessageHandler.onMessage(ClientOutput output,
RemoteAddress remoteAddress,
org.agrona.DirectBuffer buffer,
int offset,
int length) |
boolean |
ServerMessageHandler.onMessage(ServerOutput output,
RemoteAddress remoteAddress,
org.agrona.DirectBuffer buffer,
int offset,
int length) |
void |
ServerControlMessageListener.onMessage(ServerOutput output,
RemoteAddress remoteAddress,
int controlMessageType) |
boolean |
ServerRequestHandler.onRequest(ServerOutput output,
RemoteAddress remoteAddress,
org.agrona.DirectBuffer buffer,
int offset,
int length,
long requestId) |
ServerResponse |
ServerResponse.remoteAddress(RemoteAddress remoteAddress) |
TransportMessage |
TransportMessage.remoteAddress(RemoteAddress remoteAddress) |
void |
RemoteAddressList.retire(RemoteAddress remote) |
void |
ClientTransport.retireRemoteAddress(RemoteAddress remote)
Signals that the remote is no longer used and that the stream should not be reused on reactivation.
|
ClientRequest |
ClientOutput.sendRequest(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer)
Sends a request according to the request response protocol to a given remote
|
ClientRequest |
ClientOutput.sendRequestWithRetry(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer)
Same as
ClientOutput.sendRequestWithRetry(RemoteAddress, BufferWriter, long) where the timeout is set to the configured default timeout. |
ClientRequest |
ClientOutput.sendRequestWithRetry(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer,
long timeout)
Like
ClientOutput.sendRequest(RemoteAddress, BufferWriter) but retries the request if there is no current connection. |
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteAddressImpl |
| Modifier and Type | Field and Description |
|---|---|
protected RemoteAddress |
ManagedClientRequestImpl.endpoint |
| Modifier and Type | Method and Description |
|---|---|
RemoteAddress |
ClientRequestImpl.getRemoteAddress() |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteAddressListImpl.deactivate(RemoteAddress remote)
This stream is deactivated until it is registered again; the stream id in this case will remain stable
|
void |
ClientRequestPool.failPendingRequestsToRemote(RemoteAddress remote,
String reason) |
void |
ClientRequestImpl.init(RemoteAddress remoteAddress) |
ClientRequestImpl |
ClientRequestPool.openRequest(RemoteAddress remote,
io.zeebe.util.buffer.BufferWriter writer) |
ManagedClientRequestImpl |
RequestManager.openRequest(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer,
long timeout) |
ClientRequestImpl |
ClientRequestPool.poll(RemoteAddress remote) |
void |
RemoteAddressListImpl.retire(RemoteAddress remote)
Effect: This remote address/stream is never used again; no channel will every be managed for this again;
if the underlying socket address is registered again, a new remote address is assigned (+ new stream id)
|
ClientRequest |
ClientOutputImpl.sendRequest(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer) |
ClientRequest |
ClientOutputImpl.sendRequestWithRetry(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer) |
ClientRequest |
ClientOutputImpl.sendRequestWithRetry(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer,
long timeout) |
| Constructor and Description |
|---|
ManagedClientRequestImpl(ClientRequestImpl request,
RemoteAddress endpoint,
io.zeebe.util.buffer.BufferWriter writer,
long timeout) |
Copyright © 2017–2018 camunda services GmbH. All rights reserved.