org.eclipse.ecf.example.clients
Class XMPPChatRoomClient
java.lang.Object
org.eclipse.ecf.example.clients.XMPPChatRoomClient
public class XMPPChatRoomClient
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTAINER_TYPE
protected static java.lang.String CONTAINER_TYPE
XMPPChatRoomClient
public XMPPChatRoomClient()
XMPPChatRoomClient
public XMPPChatRoomClient(IMessageReceiver receiver)
createContainer
protected IContainer createContainer()
throws ECFException
- Throws:
ECFException
getContainer
protected IContainer getContainer()
getNamespace
protected Namespace getNamespace()
setupPresenceAdapter
protected void setupPresenceAdapter()
getPresenceContainer
protected IPresenceContainerAdapter getPresenceContainer()
connect
public void connect(java.lang.String account,
java.lang.String password)
throws ECFException
- Throws:
ECFException
createChatRoom
public IChatRoomContainer createChatRoom(java.lang.String chatRoomName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getChatRoomInfo
public IChatRoomInfo getChatRoomInfo()
sendMessage
public void sendMessage(java.lang.String jid,
java.lang.String msg)
isConnected
public boolean isConnected()
close
public void close()