jabber.conversation
Class SingleChat
java.lang.Object
jabber.conversation.Conversation
jabber.conversation.Chat
jabber.conversation.SingleChat
public class SingleChat
- extends Chat
Class for chat one to one
Constructor Summary |
SingleChat(Jid _roster,
java.lang.String _stanzaType,
java.lang.String _threadId)
Modified by Gabriele Bianchi 04/01/2006 |
Method Summary |
void |
broadcast(Message _message)
Send a message |
boolean |
match(Node _node)
Tests if the conversation matches the given message stanza |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roster
public Jid roster
SingleChat
public SingleChat(Jid _roster,
java.lang.String _stanzaType,
java.lang.String _threadId)
- Modified by Gabriele Bianchi 04/01/2006
- Parameters:
_roster
- _stanzaType
- _threadId
-
broadcast
public void broadcast(Message _message)
- Description copied from class:
Chat
- Send a message
- Specified by:
broadcast
in class Chat
- Parameters:
_message
-
match
public boolean match(Node _node)
- Tests if the conversation matches the given message stanza
- Overrides:
match
in class Conversation
- Parameters:
_node
-
- Returns:
- boolean