| 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 | Class and Description |
|---|---|
class |
ChronicleGatewayMain
Represents the entry point for a Chronicle Gateway, which is responsible for accepting
incoming connections and handling requests according to a defined protocol.
|
| Modifier and Type | Method and Description |
|---|---|
ChronicleContext |
ChronicleContext.buffered(boolean buffered)
Sets the buffering preference for this context.
|
ChronicleContext |
ChronicleContext.name(String name)
Sets the names space for the service.
|
static ChronicleContext |
ChronicleContext.newContext(String url)
Factory method for a new ChronicleContext
|
ChronicleContext |
ChronicleContext.useAffinity(boolean useAffinity)
Sets the status of affinity usage in this context.
|
| 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.
|
ChannelHeader |
ErrorReplyHandler.responseHeader(ChronicleContext context)
Creates an
ErrorHeader as a response, populated with the current error message. |
abstract ChannelHeader |
ReplyingHandler.responseHeader(ChronicleContext context) |
default ChannelHeader |
ChannelHandler.responseHeader(ChronicleContext context)
Provides a response header to send back to the client.
|
void |
ReplyingHandler.run(ChronicleContext context,
ChronicleChannel channel) |
void |
ChannelHandler.run(ChronicleContext context,
ChronicleChannel channel)
Executes actions within the provided context and channel.
|
| Constructor and Description |
|---|
ChronicleChannelSupplier(ChronicleContext context,
ChannelHandler handler)
Constructs a new ChronicleChannelSupplier with the provided context and handler.
|
| Modifier and Type | Method and Description |
|---|---|
ChronicleChannel |
EchoHandler.asInternalChannel(ChronicleContext context,
ChronicleChannelCfg channelCfg)
Returns an
EchoChannel as the internal channel for this handler. |
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 © 2023. All rights reserved.