|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.jabber.Jabber
public final class Jabber
Simply sends a jabber message in a jabber group.
To setup different than the default connection call
JabberConnection.getInstance().setup(...) prior the
first call to say().
This implementation tries to establish a static connection to a group chat and re-use this connection for further messages.
By design there is only one connection per VM/classloader possible.
| Method Summary | |
|---|---|
static void |
main(String[] args)
Shortcut to send message directly from the command line. |
static void |
say(String msg)
Sends the given text message to the GroupChat. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(String[] args)
args - the message to send.public static void say(String msg)
msg - the message to send.
RuntimeException - if sending fails (even after retry).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||