tigase.server.xmppclient
Interface SeeOtherHostIfc

All Known Implementing Classes:
SeeOtherHost, SeeOtherHostDB, SeeOtherHostHashed

public interface SeeOtherHostIfc

Author:
Wojtek

Field Summary
static String CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL
           
static String CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL_CLUSTER
           
static String CM_SEE_OTHER_HOST_CLASS_PROP_KEY
           
static String CM_SEE_OTHER_HOST_CLASS_PROPERTY
           
static String CM_SEE_OTHER_HOST_DEFAULT_HOST
           
static String CM_SEE_OTHER_HOST_DEFAULT_PORT
           
 
Method Summary
 tigase.xmpp.BareJID findHostForJID(tigase.xmpp.BareJID jid, tigase.xmpp.BareJID host)
          Finds an appropriate host for a given JID
 void getDefaults(Map<String,Object> defs, Map<String,Object> params)
           
 void setNodes(List<tigase.xmpp.BareJID> nodes)
           
 void setProperties(Map<String,Object> props)
           
 

Field Detail

CM_SEE_OTHER_HOST_CLASS_PROPERTY

static final String CM_SEE_OTHER_HOST_CLASS_PROPERTY
See Also:
Constant Field Values

CM_SEE_OTHER_HOST_CLASS_PROP_KEY

static final String CM_SEE_OTHER_HOST_CLASS_PROP_KEY
See Also:
Constant Field Values

CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL

static final String CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL
See Also:
Constant Field Values

CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL_CLUSTER

static final String CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL_CLUSTER
See Also:
Constant Field Values

CM_SEE_OTHER_HOST_DEFAULT_HOST

static final String CM_SEE_OTHER_HOST_DEFAULT_HOST
See Also:
Constant Field Values

CM_SEE_OTHER_HOST_DEFAULT_PORT

static final String CM_SEE_OTHER_HOST_DEFAULT_PORT
See Also:
Constant Field Values
Method Detail

findHostForJID

tigase.xmpp.BareJID findHostForJID(tigase.xmpp.BareJID jid,
                                   tigase.xmpp.BareJID host)
Finds an appropriate host for a given JID

Parameters:
jid - is a user JID extracted from the stream open attributes
host - is "this" host to which the user is now connected and which calls the method
Returns:
BareJID of possible host to which the user should connect or NULL

setNodes

void setNodes(List<tigase.xmpp.BareJID> nodes)

getDefaults

void getDefaults(Map<String,Object> defs,
                 Map<String,Object> params)

setProperties

void setProperties(Map<String,Object> props)


Copyright © 2012 Tigase. All Rights Reserved.