public class TransportChannel extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransportChannel.ChannelLifecycleListener |
| Constructor and Description |
|---|
TransportChannel(TransportChannel.ChannelLifecycleListener listener,
RemoteAddressImpl remoteAddress,
int maxMessageSize,
io.zeebe.dispatcher.FragmentHandler readHandler) |
TransportChannel(TransportChannel.ChannelLifecycleListener listener,
RemoteAddressImpl remoteAddress,
int maxMessageSize,
io.zeebe.dispatcher.FragmentHandler readHandler,
SocketChannel media) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
beginConnect() |
void |
close() |
void |
finishConnect() |
SocketChannel |
getNioChannel() |
RemoteAddressImpl |
getRemoteAddress() |
int |
getStreamId() |
boolean |
isClosed() |
boolean |
isConnecting() |
int |
receive() |
void |
registerSelector(Selector selector,
int ops) |
void |
removeSelector(Selector selector) |
void |
shutdownInput() |
int |
write(ByteBuffer buffer) |
public TransportChannel(TransportChannel.ChannelLifecycleListener listener, RemoteAddressImpl remoteAddress, int maxMessageSize, io.zeebe.dispatcher.FragmentHandler readHandler)
public TransportChannel(TransportChannel.ChannelLifecycleListener listener, RemoteAddressImpl remoteAddress, int maxMessageSize, io.zeebe.dispatcher.FragmentHandler readHandler, SocketChannel media)
public int receive()
public int write(ByteBuffer buffer)
public int getStreamId()
public void registerSelector(Selector selector, int ops)
public void removeSelector(Selector selector)
public boolean beginConnect()
public void finishConnect()
public boolean isClosed()
public boolean isConnecting()
public RemoteAddressImpl getRemoteAddress()
public void shutdownInput()
public void close()
public SocketChannel getNioChannel()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.