| Package | Description |
|---|---|
| net.openhft.chronicle.wire.channel |
Provides classes and interfaces for managing Chronicle communication channels and their operations.
|
| net.openhft.chronicle.wire.channel.echo | |
| net.openhft.chronicle.wire.channel.echo.internal | |
| net.openhft.chronicle.wire.channel.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalChronicleChannel
The InternalChronicleChannel interface extends the ChronicleChannel interface and provides
additional methods that support advanced functionalities within Chronicle Channels.
|
| Modifier and Type | Method and Description |
|---|---|
ChronicleChannel |
ReplyingHandler.asInternalChannel(ChronicleContext context,
ChronicleChannelCfg channelCfg) |
ChronicleChannel |
ChannelHandler.asInternalChannel(ChronicleContext context,
ChronicleChannelCfg channelCfg)
Converts the current ChannelHandler to an internal channel using the provided context and channel configuration.
|
ChronicleChannel |
InternalChronicleChannel.eventPoller(EventPoller eventPoller)
Associates a given EventPoller instance with this channel.
|
ChronicleChannel |
ChronicleChannelSupplier.get()
Depending on the specified protocol, it instantiates a new ChronicleChannel,
registers it with the context, and returns the newly created ChronicleChannel instance.
|
static ChronicleChannel |
ChronicleChannel.newChannel(SocketRegistry socketRegistry,
ChronicleChannelCfg channelCfg,
ChannelHeader headerOut)
Creates a new instance of a ChronicleChannel.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EventPoller.onPoll(ChronicleChannel channel)
Polls for an event on the specified ChronicleChannel.
|
void |
ReplyingHandler.run(ChronicleContext context,
ChronicleChannel channel) |
void |
ChannelHandler.run(ChronicleContext context,
ChronicleChannel channel)
Executes actions within the provided context and channel.
|
| Modifier and Type | Method and Description |
|---|---|
ChronicleChannel |
EchoHandler.asInternalChannel(ChronicleContext context,
ChronicleChannelCfg channelCfg)
Returns an
EchoChannel as the internal channel for this handler. |
| Modifier and Type | Method and Description |
|---|---|
void |
EchoHandler.run(ChronicleContext context,
ChronicleChannel channel)
Executes the main logic of this EchoHandler, which continuously reads incoming data from the
provided channel and echoes it back to the sender.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EchoChannel |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedChronicleChannel |
class |
DelegateChronicleChannel |
class |
TCPChronicleChannel |
| Modifier and Type | Method and Description |
|---|---|
ChronicleChannel |
DelegateChronicleChannel.eventPoller(EventPoller eventPoller) |
ChronicleChannel |
TCPChronicleChannel.eventPoller(EventPoller eventPoller) |
static ChronicleChannel |
ChronicleChannelUtils.newChannel(SocketRegistry socketRegistry,
ChronicleChannelCfg channelCfg,
ChannelHeader headerOut) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Runnable |
ChronicleChannelUtils.eventHandlerAsRunnable(ChronicleChannel chronicleChannel,
Object eventHandler) |
Copyright © 2023. All rights reserved.