| 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 |
| 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(net.openhft.chronicle.wire.channel.impl.SocketRegistry socketRegistry,
ChronicleChannelCfg<?> channelCfg,
ChannelHeader headerOut)
Deprecated.
Creates a new instance of a ChronicleChannel.
|
static ChronicleChannel |
ChronicleChannel.newChannel(net.openhft.chronicle.wire.channel.impl.SocketRegistry socketRegistry,
ChronicleChannelCfg<?> channelCfg,
ChannelHeader headerOut,
Consumer<ChronicleChannel> closeCallback)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Consumer<ChronicleChannel> |
ChronicleContext.closeCallback() |
| 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 |
|---|---|
void |
ChronicleContext.closeCallback(Consumer<ChronicleChannel> closeCallback) |
static ChronicleChannel |
ChronicleChannel.newChannel(net.openhft.chronicle.wire.channel.impl.SocketRegistry socketRegistry,
ChronicleChannelCfg<?> channelCfg,
ChannelHeader headerOut,
Consumer<ChronicleChannel> closeCallback)
Deprecated.
|
| 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.
|
Copyright © 2024. All rights reserved.