public abstract class S2SAbstractProcessor extends Object implements S2SProcessor
Modifier and Type | Class and Description |
---|---|
protected static class |
S2SAbstractProcessor.Order |
Modifier and Type | Field and Description |
---|---|
protected static String |
DB_RESULT_EL_NAME
Field description
|
protected static String |
DB_VERIFY_EL_NAME
Field description
|
protected static String |
DIALBACK_EL
Field description
|
protected static String |
DIALBACK_NS
Field description
|
protected static String[] |
FEATURES_DIALBACK_PATH
Field description
|
protected static String |
FEATURES_EL
Field description
|
protected static String |
FEATURES_NS
Field description
|
protected static String[] |
FEATURES_STARTTLS_PATH
Field description
|
static boolean |
FORCE_VERSION
Field description
|
protected S2SConnectionHandlerIfc<S2SIOService> |
handler
Field description
|
protected static String |
PROCEED_TLS_EL
Field description
|
protected static String |
RESULT_EL_NAME
Field description
|
protected static String |
START_TLS_EL
Field description
|
protected static String |
START_TLS_NS
Field description
|
protected static String |
STREAM_FEATURES_EL
Field description
|
protected static String |
VERIFY_EL_NAME
Field description
|
protected static String |
VERSION_ATT_NAME
Field description
|
protected static String |
XMLNS_CLIENT_VAL
Field description
|
protected static String |
XMLNS_DB_ATT
Field description
|
protected static String |
XMLNS_DB_VAL
Field description
|
protected static String |
XMLNS_SERVER_VAL
Field description
|
Constructor and Description |
---|
S2SAbstractProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(S2SProcessor proc) |
void |
generateStreamError(boolean initStream,
String error_el,
S2SIOService serv)
Method description
|
void |
init(S2SConnectionHandlerIfc<S2SIOService> handler,
Map<String,Object> props) |
boolean |
process(Packet p,
S2SIOService serv,
Queue<Packet> results) |
void |
serviceStarted(S2SIOService serv)
Method description
|
void |
serviceStopped(S2SIOService serv)
Method description
|
boolean |
skipTLSForHost(String hostname)
Method description
|
void |
streamClosed(S2SIOService serv) |
void |
streamFeatures(S2SIOService serv,
List<Element> results)
Method description
|
String |
streamOpened(S2SIOService serv,
Map<String,String> attribs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
protected static final String DB_RESULT_EL_NAME
protected static final String DB_VERIFY_EL_NAME
protected static final String DIALBACK_EL
protected static final String DIALBACK_NS
protected static final String FEATURES_EL
protected static final String FEATURES_NS
protected static final String PROCEED_TLS_EL
protected static final String RESULT_EL_NAME
protected static final String START_TLS_EL
protected static final String START_TLS_NS
protected static final String STREAM_FEATURES_EL
protected static final String VERIFY_EL_NAME
protected static final String VERSION_ATT_NAME
protected static final String XMLNS_CLIENT_VAL
protected static final String XMLNS_DB_ATT
protected static final String XMLNS_DB_VAL
protected static final String XMLNS_SERVER_VAL
protected static final String[] FEATURES_STARTTLS_PATH
protected static final String[] FEATURES_DIALBACK_PATH
public static boolean FORCE_VERSION
protected S2SConnectionHandlerIfc<S2SIOService> handler
public void generateStreamError(boolean initStream, String error_el, S2SIOService serv)
initStream
- error_el
- serv
- public void init(S2SConnectionHandlerIfc<S2SIOService> handler, Map<String,Object> props)
init
in interface S2SProcessor
public boolean process(Packet p, S2SIOService serv, Queue<Packet> results)
process
in interface S2SProcessor
public void serviceStarted(S2SIOService serv)
S2SProcessor
serviceStarted
in interface S2SProcessor
public void serviceStopped(S2SIOService serv)
S2SProcessor
serviceStopped
in interface S2SProcessor
public boolean skipTLSForHost(String hostname)
hostname
- public void streamClosed(S2SIOService serv)
streamClosed
in interface S2SProcessor
public void streamFeatures(S2SIOService serv, List<Element> results)
S2SProcessor
streamFeatures
in interface S2SProcessor
public String streamOpened(S2SIOService serv, Map<String,String> attribs)
streamOpened
in interface S2SProcessor
public int compareTo(S2SProcessor proc)
compareTo
in interface Comparable<S2SProcessor>
Copyright © 2017 "Tigase, Inc.". All rights reserved.