IO
- public interface S2SConnectionHandlerIfc<IO extends XMPPIOService<?>>
Modifier and Type | Method and Description |
---|---|
boolean |
addOutPacket(Packet packet) |
void |
addTimerTask(TimerTask task,
long delay,
TimeUnit unit) |
CIDConnections |
getCIDConnections(CID cid,
boolean createNew) |
BareJID |
getDefHostName() |
String |
getSecretForDomain(String domain)
Returns secret used for particular domain
|
String |
getServerNameForDomain(String domain) |
List<Element> |
getStreamFeatures(S2SIOService serv)
Method description
|
void |
initNewConnection(Map<String,Object> port_props) |
boolean |
isTlsNeedClientAuthEnabled() |
boolean |
isTlsRequired(String domain)
Checks if TLS is required for particular domain
|
boolean |
isTlsWantClientAuthEnabled() |
boolean |
sendVerifyResult(String elem_name,
CID connCid,
CID keyCid,
Boolean valid,
String key_sessionId,
String serv_sessionId,
String cdata,
boolean handshakingOnly) |
boolean |
sendVerifyResult(String elem_name,
CID connCid,
CID keyCid,
Boolean valid,
String key_sessionId,
String serv_sessionId,
String cdata,
boolean handshakingOnly,
Element errorElem) |
void |
writePacketsToSocket(IO serv,
Queue<Packet> packets) |
boolean |
writePacketToSocket(IO serv,
Packet packet) |
void |
writeRawData(IO serv,
String strError) |
List<Element> getStreamFeatures(S2SIOService serv)
serv
- S2SIOService
for which stream features should be retrievedboolean addOutPacket(Packet packet)
CIDConnections getCIDConnections(CID cid, boolean createNew) throws NotLocalhostException, LocalhostException
BareJID getDefHostName()
String getSecretForDomain(String domain) throws NotLocalhostException
domain
- for which secret should be returnedNotLocalhostException
- if the domain is not localboolean isTlsRequired(String domain)
domain
- for which secret should be returnedboolean isTlsWantClientAuthEnabled()
boolean isTlsNeedClientAuthEnabled()
boolean sendVerifyResult(String elem_name, CID connCid, CID keyCid, Boolean valid, String key_sessionId, String serv_sessionId, String cdata, boolean handshakingOnly)
boolean sendVerifyResult(String elem_name, CID connCid, CID keyCid, Boolean valid, String key_sessionId, String serv_sessionId, String cdata, boolean handshakingOnly, Element errorElem)
Copyright © 2018 "Tigase, Inc.". All rights reserved.