public class ChronicleServiceMain extends SelfDescribingMarshallable implements net.openhft.chronicle.core.io.Closeable
EMPTYDISCARD| Constructor and Description |
|---|
ChronicleServiceMain() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isClosed() |
static void |
main(String... args)
The main method acts as the entry point to start the ChronicleServiceMain.
|
protected ChannelHeader |
replaceOutHeader(ChannelHeader channelHandler)
Replaces the outbound header for the channel based on its type.
|
String |
toString() |
usesSelfDescribingMessageclone, finalize, getClass, notify, notifyAll, wait, wait, wait$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablebinaryLengthLength, writeValueunexpectedFieldpublic static void main(String... args) throws IOException, net.openhft.chronicle.core.io.InvalidMarshallableException
args - Command line arguments. The first argument is expected to be the path to the configuration file.IOException - if there's an I/O issuenet.openhft.chronicle.core.io.InvalidMarshallableException - if there's an issue with marshallingprotected ChannelHeader replaceOutHeader(ChannelHeader channelHandler)
channelHandler - the current channel headerpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
isClosed in interface net.openhft.chronicle.core.io.QueryCloseableCopyright © 2024. All rights reserved.