|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractMessageReceiver
tigase.server.ConnectionManager<ComponentIOService>
tigase.server.ext.ComponentProtocol
public class ComponentProtocol
Created: Sep 30, 2009 8:28:13 PM
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class tigase.server.ConnectionManager |
|---|
ConnectionManager.LIMIT_ACTION |
| Field Summary | |
|---|---|
static String |
AUTHENTICATION_TIMEOUT_PROP_KEY
Field description |
static String |
CLOSE_ON_SEQUENCE_ERROR_PROP_KEY
Field description |
static String |
EXTCOMP_BIND_HOSTNAMES
Field description |
static String |
EXTCOMP_REPO_CLASS_PROP_KEY
Field description |
static String |
EXTCOMP_REPO_CLASS_PROP_VAL
Field description |
static String |
EXTCOMP_REPO_CLASS_PROPERTY
Field description |
static String |
IDENTITY_TYPE_KEY
Field description |
static String |
IDENTITY_TYPE_VAL
Field description |
static String |
MAX_AUTH_ATTEMPTS_PROP_KEY
Field description |
static String |
PACK_ROUTED_KEY
Field description |
boolean |
PACK_ROUTED_VAL
Field description |
static String |
RETURN_SERVICE_DISCO_KEY
Field description |
static boolean |
RETURN_SERVICE_DISCO_VAL
Field description |
| Fields inherited from class tigase.server.AbstractMessageReceiver |
|---|
HOUR, INCOMING_FILTERS_PROP_KEY, INCOMING_FILTERS_PROP_VAL, MAX_QUEUE_SIZE_PROP_KEY, MAX_QUEUE_SIZE_PROP_VAL, maxInQueueSize, maxOutQueueSize, MINUTE, OUTGOING_FILTERS_PROP_KEY, OUTGOING_FILTERS_PROP_VAL, SCHEDULER_THREADS_PROP_KEY, SECOND |
| Fields inherited from class tigase.server.BasicComponent |
|---|
admins, ALL_PROP_KEY, COMMAND_PROP_NODE, scriptCommands, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
| Fields inherited from interface tigase.server.ext.ComponentProtocolHandler |
|---|
EXTCOMP_BIND_HOSTNAMES_PROP_KEY, REPO_ITEM_KEY |
| Fields inherited from interface tigase.disco.XMPPService |
|---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
| Constructor Summary | |
|---|---|
ComponentProtocol()
Constructs ... |
|
| Method Summary | |
|---|---|
void |
authenticated(ComponentIOService serv)
Method description |
void |
authenticationFailed(ComponentIOService serv,
Packet packet)
Method description |
void |
bindHostname(String hostname,
ComponentIOService serv)
Method description |
CompRepoItem |
getCompRepoItem(String hostname)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
protected String |
getDefTrafficThrottling()
Method description |
String |
getDiscoCategoryType()
Method description |
String |
getDiscoDescription()
Method description |
protected long |
getMaxInactiveTime()
Method description |
protected Integer |
getMaxQueueSize(int def)
Method description |
ExtProcessor |
getProcessor(String key)
Method description |
void |
getStatistics(StatisticsList list)
Method description |
List<tigase.xml.Element> |
getStreamFeatures(ComponentIOService serv)
Method description |
StreamOpenHandler |
getStreamOpenHandler(String xmlns)
Method description |
protected ComponentIOService |
getXMPPIOService(Packet p)
Method description |
protected ComponentIOService |
getXMPPIOServiceInstance()
Method description |
void |
initBindings(Bindings binds)
Method description |
protected boolean |
isHighThroughput()
Method description |
Queue<Packet> |
processSocketData(ComponentIOService serv)
Method description |
void |
reconnectionFailed(Map<String,Object> port_props)
Method description |
void |
serviceStarted(ComponentIOService serv)
Method description |
boolean |
serviceStopped(ComponentIOService service)
Method description |
void |
setProperties(Map<String,Object> properties)
Method description |
void |
tlsHandshakeCompleted(ComponentIOService service)
Method description |
void |
unbindHostname(String hostname,
ComponentIOService serv)
Method description |
boolean |
writePacketToSocket(ComponentIOService ios,
Packet p)
Method description |
void |
xmppStreamClosed(ComponentIOService serv)
Method description |
String |
xmppStreamOpened(ComponentIOService serv,
Map<String,String> attribs)
Method description |
| Methods inherited from class tigase.server.AbstractMessageReceiver |
|---|
addOutPacket, addOutPacketNB, addOutPackets, addOutPacketWithTimeout, addPacket, addPacketNB, addPackets, addRegexRouting, addTimerTask, addTimerTask, addTimerTask, addTimerTask, clearRegexRoutings, everyHour, everySecond, getRegexRoutings, isInRegexRoutings, newPacketId, processingThreads, processOutPacket, processPacket, removeRegexRouting, schedulerThreads, setMaxQueueSize, setParent, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.server.ext.ComponentProtocolHandler |
|---|
newPacketId |
| Methods inherited from interface tigase.server.MessageReceiver |
|---|
getDefHostName |
| Methods inherited from interface tigase.server.ServerComponent |
|---|
getComponentId, getName, isInitializationComplete |
| Field Detail |
|---|
public static final String AUTHENTICATION_TIMEOUT_PROP_KEY
public static final String CLOSE_ON_SEQUENCE_ERROR_PROP_KEY
public static final String EXTCOMP_BIND_HOSTNAMES
public static final String EXTCOMP_REPO_CLASS_PROP_KEY
public static final String EXTCOMP_REPO_CLASS_PROP_VAL
public static final String EXTCOMP_REPO_CLASS_PROPERTY
public static final String IDENTITY_TYPE_KEY
public static final String IDENTITY_TYPE_VAL
public static final String MAX_AUTH_ATTEMPTS_PROP_KEY
public static final String PACK_ROUTED_KEY
public static final String RETURN_SERVICE_DISCO_KEY
public static final boolean RETURN_SERVICE_DISCO_VAL
public boolean PACK_ROUTED_VAL
| Constructor Detail |
|---|
public ComponentProtocol()
| Method Detail |
|---|
public void authenticated(ComponentIOService serv)
authenticated in interface ComponentProtocolHandlerserv -
public void authenticationFailed(ComponentIOService serv,
Packet packet)
authenticationFailed in interface ComponentProtocolHandlerserv - packet - protected String getDefTrafficThrottling()
getDefTrafficThrottling in class ConnectionManager<ComponentIOService>
public void bindHostname(String hostname,
ComponentIOService serv)
bindHostname in interface ComponentProtocolHandlerhostname - serv - public CompRepoItem getCompRepoItem(String hostname)
getCompRepoItem in interface ComponentProtocolHandlerhostname -
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in interface ConfigurablegetDefaults in class ConnectionManager<ComponentIOService>params -
public String getDiscoCategoryType()
getDiscoCategoryType in class BasicComponentpublic String getDiscoDescription()
getDiscoDescription in class BasicComponentpublic ExtProcessor getProcessor(String key)
getProcessor in interface ComponentProtocolHandlerkey -
public void getStatistics(StatisticsList list)
getStatistics in interface StatisticsContainergetStatistics in class ConnectionManager<ComponentIOService>list - public List<tigase.xml.Element> getStreamFeatures(ComponentIOService serv)
getStreamFeatures in interface ComponentProtocolHandlerserv -
public StreamOpenHandler getStreamOpenHandler(String xmlns)
getStreamOpenHandler in interface ComponentProtocolHandlerxmlns -
public void initBindings(Bindings binds)
initBindings in class ConnectionManager<ComponentIOService>binds - public Queue<Packet> processSocketData(ComponentIOService serv)
processSocketData in class ConnectionManager<ComponentIOService>serv -
public void reconnectionFailed(Map<String,Object> port_props)
reconnectionFailed in class ConnectionManager<ComponentIOService>port_props - public void serviceStarted(ComponentIOService serv)
serviceStarted in class ConnectionManager<ComponentIOService>serv - public boolean serviceStopped(ComponentIOService service)
serviceStopped in interface IOServiceListener<ComponentIOService>serviceStopped in class ConnectionManager<ComponentIOService>service -
public void setProperties(Map<String,Object> properties)
setProperties in interface ConfigurablesetProperties in class ConnectionManager<ComponentIOService>properties - public void tlsHandshakeCompleted(ComponentIOService service)
tlsHandshakeCompleted in interface IOServiceListener<ComponentIOService>service -
public void unbindHostname(String hostname,
ComponentIOService serv)
unbindHostname in interface ComponentProtocolHandlerhostname - serv -
public boolean writePacketToSocket(ComponentIOService ios,
Packet p)
writePacketToSocket in class ConnectionManager<ComponentIOService>ios - p -
public void xmppStreamClosed(ComponentIOService serv)
xmppStreamClosed in interface XMPPIOServiceListener<ComponentIOService>serv -
public String xmppStreamOpened(ComponentIOService serv,
Map<String,String> attribs)
xmppStreamOpened in interface XMPPIOServiceListener<ComponentIOService>serv - attribs -
protected long getMaxInactiveTime()
getMaxInactiveTime in class ConnectionManager<ComponentIOService>protected Integer getMaxQueueSize(int def)
getMaxQueueSize in class AbstractMessageReceiverdef -
protected ComponentIOService getXMPPIOService(Packet p)
getXMPPIOService in class ConnectionManager<ComponentIOService>p -
protected ComponentIOService getXMPPIOServiceInstance()
getXMPPIOServiceInstance in class ConnectionManager<ComponentIOService>protected boolean isHighThroughput()
isHighThroughput in class ConnectionManager<ComponentIOService>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||