public interface ContinualMessageSink
| Modifier and Type | Field and Description |
|---|---|
static String |
kGeneralMessageStreamName
The conventional general message stream name.
|
static ContinualMessageStream |
kGeneralMsgStream
a standard message stream from the conventional general message stream name.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
send(Collection<ContinualMessage> msgs)
Send a list of messages to the sink using its general message stream.
|
default void |
send(ContinualMessage... msgs)
Send a list of messages to the sink using its general message stream.
|
default void |
send(ContinualMessage msg)
Send a message to the sink using its general message stream.
|
void |
send(ContinualMessageStream stream,
Collection<ContinualMessage> msgs)
Send a collection (iterated in order) of messages to the sink using the given message stream.
|
default void |
send(ContinualMessageStream stream,
ContinualMessage... msgs)
Send a list of messages to the sink using the given message stream.
|
default void |
send(ContinualMessageStream stream,
ContinualMessage message)
Send a message to the sink using the given message stream.
|
static final String kGeneralMessageStreamName
static final ContinualMessageStream kGeneralMsgStream
default void send(ContinualMessage msg) throws MessagePublishException
msg - a messageMessagePublishException - when a message cannot be publisheddefault void send(ContinualMessage... msgs) throws MessagePublishException
msgs - messagesMessagePublishException - when a message cannot be publisheddefault void send(Collection<ContinualMessage> msgs) throws MessagePublishException
msgs - messagesMessagePublishException - when a message cannot be publisheddefault void send(ContinualMessageStream stream, ContinualMessage message) throws MessagePublishException
stream - a streammessage - a messageMessagePublishException - when a message cannot be publisheddefault void send(ContinualMessageStream stream, ContinualMessage... msgs) throws MessagePublishException
stream - a streammsgs - messagesMessagePublishException - when a message cannot be publishedvoid send(ContinualMessageStream stream, Collection<ContinualMessage> msgs) throws MessagePublishException
stream - a streammsgs - messsagesMessagePublishException - when a message cannot be publishedCopyright © 2023 continual.io. All rights reserved.