org.eclipse.ecf.example.clients
Class XMPPChatClient
java.lang.Object
org.eclipse.ecf.example.clients.XMPPChatClient
public class XMPPChatClient
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPChatClient
public XMPPChatClient()
XMPPChatClient
public XMPPChatClient(IMessageReceiver receiver)
XMPPChatClient
public XMPPChatClient(IMessageReceiver receiver,
IPresenceListener presenceListener)
setupContainer
public IContainer setupContainer()
throws ECFException
- Throws:
ECFException
getContainer
public IContainer getContainer()
setupPresence
public void setupPresence()
throws ECFException
- Throws:
ECFException
connect
public void connect(java.lang.String account,
java.lang.String password)
throws ECFException
- Throws:
ECFException
doConnect
public void doConnect(java.lang.String account,
java.lang.String password)
throws ECFException
- Throws:
ECFException
createID
public ID createID(java.lang.String name)
sendChat
public void sendChat(java.lang.String jid,
java.lang.String msg)
sendChat
public void sendChat(ID targetID,
java.lang.String msg)
- Since:
- 2.0
sendProperties
public void sendProperties(java.lang.String jid,
java.util.Map properties)
isConnected
public boolean isConnected()
close
public void close()