Package tigase.server.xmppserver
Class S2SIOService
- All Implemented Interfaces:
Callable<IOService<?>>,TLSEventHandler,IOListener
Created: Jun 14, 2010 12:30:53 PM
- Author:
- Artur Hefczyc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected static final Stringstatic final StringFields inherited from class tigase.xmpp.XMPPIOService
ACK_NAME, CROSS_DOMAIN_POLICY_FILE_PROP_KEY, CROSS_DOMAIN_POLICY_FILE_PROP_VAL, DOM_HANDLER, ID_ATT, parser, processors, REQ_NAME, serviceListener, STREAM_CLOSING, writeInProgressFields inherited from class tigase.net.IOService
cb, CERT_CHECK_RESULT, CERT_REQUIRED_DOMAIN, decoder, encoder, HOSTNAME_KEY, LOCAL_CERT_CHECK_RESULT, partialCharacterBytes, PORT_TYPE_PROP_KEY, SESSION_ID_KEY, SSL_PROTOCOLS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds another connection id (CID) to the authenticated list for this connectionvoidgetCIDs()booleanbooleanisAuthenticated(CID cid) booleanbooleanvoidvoidsetS2SConnection(S2SConnection s2s_conn) voidsetSessionId(String session_id) voidtoString()Methods inherited from class tigase.xmpp.XMPPIOService
addPacketToSend, addReceivedPacket, call, checkBufferLimit, checkData, clearWaitingPackets, forceStop, getAuthorisedUserJid, getLastXmppPacketReceiveTime, getPacketsReceived, getPacketsSent, getReceivedPackets, getTotalPacketsReceived, getTotalPacketsSent, getUserJid, getWaitingForAct, getWaitingPackets, getXMLNS, hasParsedElements, moveParsedPacketsToReceived, prepareStreamClose, processSocketData, processWaitingPackets, receivedPackets, setAckMode, setAuthorisedUserJid, setElementLimits, setIOServiceListener, setProcessors, setUserJid, setXMLNS, shouldCountPacket, stop, writeRawData, xmppStreamClosed, xmppStreamOpen, xmppStreamOpenedMethods inherited from class tigase.net.IOService
accept, accept, byteOrder, connectionType, debug, debug, getBuffOverflow, getBytesReceived, getBytesSent, getCertificateContainer, getConnectionId, getDataReceiver, getIO, getLastTransferTime, getLocalAddress, getLocalCertificate, getLocalPort, getPeerCertificate, getReadCounters, getRefObject, getRemoteAddress, getSessionData, getSocketChannel, getSocketInputSize, getStatistics, getTlsExporter, getTlsUniqueId, getTotalBuffOverflow, getTotalBytesReceived, getTotalBytesSent, getUniqueId, getWriteCounters, handleMalformedInput, handshakeCompleted, isConnected, isInputBufferEmpty, isSocketServiceReady, readBytes, readCompleted, readData, setBufferLimit, setCertificateContainer, setConnectionId, setDataReceiver, setIOServiceListener, setRefObject, setSessionData, setSocketServiceReady, setSslContextContainer, setX509TrustManagers, startSSL, startTLS, startZLib, waitingToRead, waitingToSend, waitingToSendSize, writeBytes, writeData
-
Field Details
-
S2S_CONNECTION_KEY
- See Also:
-
HANDSHAKING_DOMAIN_KEY
- See Also:
-
HANDSHAKING_ONLY_KEY
- See Also:
-
-
Constructor Details
-
S2SIOService
public S2SIOService()
-
-
Method Details
-
addCID
Adds another connection id (CID) to the authenticated list for this connection -
addCID
-
getCIDs
-
getS2SConnection
-
setS2SConnection
-
getSessionId
-
setSessionId
-
isAuthenticated
-
isAuthenticated
public boolean isAuthenticated() -
isHandshakingOnly
public boolean isHandshakingOnly() -
isStreamNegotiationCompleted
public boolean isStreamNegotiationCompleted() -
streamNegotiationCompleted
public void streamNegotiationCompleted() -
setDBKey
-
toString
- Overrides:
toStringin classXMPPIOService<Object>
-