com.atlassian.bamboo.xmpp
Class BambooSmackClient

java.lang.Object
  extended by com.atlassian.bamboo.xmpp.BambooSmackClient

public class BambooSmackClient
extends java.lang.Object


Field Summary
static java.lang.String DEFAULT_RESOURCE
           
static int USER_MESSAGE_CONTEXT_SIZE
           
 
Constructor Summary
BambooSmackClient()
           
 
Method Summary
 void connect()
           
 void connect(InstantMessagingServerDefinition instantMessagingServerDefinition)
           
 void disconnect()
           
 java.util.Map<java.lang.String,java.lang.String> getMessageContextForUser(java.lang.String jabberAddress)
           
 void putUserMessageContext(java.lang.String jabberAddress, java.util.Map<java.lang.String,java.lang.String> context)
           
 void send(org.jivesoftware.smack.packet.Message message)
           
 void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_MESSAGE_CONTEXT_SIZE

public static final int USER_MESSAGE_CONTEXT_SIZE
See Also:
Constant Field Values

DEFAULT_RESOURCE

public static final java.lang.String DEFAULT_RESOURCE
See Also:
Constant Field Values
Constructor Detail

BambooSmackClient

public BambooSmackClient()
Method Detail

connect

public void connect(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 java.util.Map<java.lang.String,java.lang.String> getMessageContextForUser(java.lang.String jabberAddress)

putUserMessageContext

public void putUserMessageContext(java.lang.String jabberAddress,
                                  java.util.Map<java.lang.String,java.lang.String> context)

setInstantMessagingServerManager

public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)


Copyright © 2011 Atlassian. All Rights Reserved.