public class SendOnlyConversation extends Conversation
acceptMessage
method is empty.Modifier and Type | Class and Description |
---|---|
static class |
SendOnlyConversation.Provider
Provider and tracker of generic send-only conversations.
|
Constructor and Description |
---|
SendOnlyConversation(String topic,
int id,
int parentId)
Creates a conversation capable of sending messages.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptMessage(byte[] message)
Accept a byte form of a message in the context of a given conversation.
|
connection, equals, hashCode, id, isEnded, parentId, setConnection, topic
public SendOnlyConversation(String topic, int id, int parentId)
topic
- conversation topicid
- unique conversation idparentId
- unique conversation id of the parent conversation; 0 if
no parent conversationpublic void acceptMessage(byte[] message)
Conversation
acceptMessage
in class Conversation
message
- byte buffer containing the raw messageCopyright © 2015. All Rights Reserved.