|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdx.scorebot.net.tests.Service
cdx.scorebot.net.tests.ConnectionOrientedService
cdx.scorebot.net.tests.ConnectionOrientedUserService
cdx.scorebot.net.tests.jabber.JabberService
public class JabberService
extension of ConnectionOrientedUserService which handles connections to a Jabber server
| Constructor Summary | |
|---|---|
JabberService()
default constructor |
|
| Method Summary | |
|---|---|
boolean |
connect()
try to connect to the service |
void |
disconnect()
disconnect from the service |
org.jivesoftware.smack.XMPPConnection |
getXMPPConnection()
Returns the XMPPconnection so that the send message thing can work |
| Methods inherited from class cdx.scorebot.net.tests.ConnectionOrientedUserService |
|---|
getPassword, getUsername, setPassword, setUsername |
| Methods inherited from class cdx.scorebot.net.tests.Service |
|---|
equals, getTargetAddress, getTargetInetAddress, getTargetPort, setTargetAddress, setTargetInetAddress, setTargetPort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JabberService()
| Method Detail |
|---|
public boolean connect()
throws org.jivesoftware.smack.XMPPException,
java.net.UnknownHostException
org.jivesoftware.smack.XMPPException
java.net.UnknownHostExceptionpublic void disconnect()
public org.jivesoftware.smack.XMPPConnection getXMPPConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||