com.atlassian.bamboo.xmpp
Class BambooSmackClient
java.lang.Object
com.atlassian.bamboo.xmpp.BambooSmackClient
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class BambooSmackClient
- extends Object
- implements org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RESOURCE
public static final String DEFAULT_RESOURCE
- See Also:
- Constant Field Values
BambooSmackClient
public BambooSmackClient(InstantMessagingServerManager instantMessagingServerManager)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
connect
public void connect(@Nullable
InstantMessagingServerDefinition instantMessagingServerDefinition)
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException
connect
public void connect()
throws org.jivesoftware.smack.XMPPException
- Throws:
org.jivesoftware.smack.XMPPException
disconnect
public void disconnect()
send
public void send(org.jivesoftware.smack.packet.Message message)
getMessageContextForUser
public Map<String,String> getMessageContextForUser(String jabberAddress)
putUserMessageContext
public void putUserMessageContext(String jabberAddress,
Map<String,String> context)
setPacketListener
public void setPacketListener(org.jivesoftware.smack.PacketListener packetListener)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.