public class SubscribeQueueChannel extends Object implements net.openhft.chronicle.wire.channel.ChronicleChannel
Constructor and Description |
---|
SubscribeQueueChannel(net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg,
net.openhft.chronicle.wire.channel.AbstractHandler pipeHandler,
ChronicleQueue subscribeQueue) |
Modifier and Type | Method and Description |
---|---|
net.openhft.chronicle.wire.DocumentContext |
acquireWritingDocument(boolean metaData) |
net.openhft.chronicle.wire.channel.ChronicleChannelCfg |
channelCfg() |
void |
close() |
net.openhft.chronicle.wire.channel.ChannelHeader |
headerIn() |
net.openhft.chronicle.wire.channel.ChannelHeader |
headerOut() |
boolean |
isClosed() |
long |
lastTestMessage() |
net.openhft.chronicle.wire.DocumentContext |
readingDocument() |
void |
testMessage(long now) |
net.openhft.chronicle.wire.DocumentContext |
writingDocument(boolean metaData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eventHandlerAsRunnable, newChannel, readOne
public SubscribeQueueChannel(net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg, net.openhft.chronicle.wire.channel.AbstractHandler pipeHandler, ChronicleQueue subscribeQueue)
public net.openhft.chronicle.wire.channel.ChronicleChannelCfg channelCfg()
channelCfg
in interface net.openhft.chronicle.wire.channel.ChronicleChannel
public net.openhft.chronicle.wire.channel.ChannelHeader headerOut()
headerOut
in interface net.openhft.chronicle.wire.channel.ChronicleChannel
public net.openhft.chronicle.wire.channel.ChannelHeader headerIn()
headerIn
in interface net.openhft.chronicle.wire.channel.ChronicleChannel
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public boolean isClosed()
isClosed
in interface net.openhft.chronicle.core.io.QueryCloseable
public net.openhft.chronicle.wire.DocumentContext readingDocument()
readingDocument
in interface net.openhft.chronicle.wire.MarshallableIn
public net.openhft.chronicle.wire.DocumentContext writingDocument(boolean metaData) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
writingDocument
in interface net.openhft.chronicle.wire.DocumentWritten
writingDocument
in interface net.openhft.chronicle.wire.MarshallableOut
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public net.openhft.chronicle.wire.DocumentContext acquireWritingDocument(boolean metaData) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
acquireWritingDocument
in interface net.openhft.chronicle.wire.DocumentWritten
acquireWritingDocument
in interface net.openhft.chronicle.wire.MarshallableOut
net.openhft.chronicle.wire.UnrecoverableTimeoutException
public void testMessage(long now)
testMessage
in interface net.openhft.chronicle.wire.channel.ChronicleChannel
public long lastTestMessage()
lastTestMessage
in interface net.openhft.chronicle.wire.channel.ChronicleChannel
Copyright © 2023. All rights reserved.