Package org.jivesoftware.openfire.net
Class RespondingServerStanzaHandler
java.lang.Object
org.jivesoftware.openfire.net.StanzaHandler
org.jivesoftware.openfire.net.RespondingServerStanzaHandler
Stanza handler for responding to incoming stanzas when the server is acting as the client in an S2S scenario.
- Author:
- Alex Gidman, Matthew Vivian
-
Field Summary
Fields inherited from class org.jivesoftware.openfire.net.StanzaHandler
connection, PROPERTY_OVERWRITE_EMPTY_TO, router, saslStatus, session, sessionCreated, startedSASL, startedTLS, waitingCompressionACK
-
Constructor Summary
ConstructorsConstructorDescriptionRespondingServerStanzaHandler
(PacketRouter router, Connection connection, DomainPair domainPair) Creates a dedicated reader for a socket. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
initiateSession
(String stanza, XMPPPacketReader reader) void
void
Methods inherited from class org.jivesoftware.openfire.net.StanzaHandler
closeNeverEncryptedConnection, compressClient, compressionSuccessful, createSession, getAddress, getStreamHeader, isEndOfStream, isHostUnknown, isStartOfStream, isStreamManagementStanza, negotiateTLS, process, processIQ, processMessage, processPresence, processStanza, saslSuccessful, setSession, tlsNegotiated
-
Constructor Details
-
RespondingServerStanzaHandler
public RespondingServerStanzaHandler(PacketRouter router, Connection connection, DomainPair domainPair) Creates a dedicated reader for a socket.- Parameters:
router
- the router for sending packets that were read.connection
- the connection being read.domainPair
- the local and remote domains
-
-
Method Details
-
initiateSession
- Overrides:
initiateSession
in classStanzaHandler
- Throws:
Exception
-
getSession
-
isSessionAuthenticated
-
setSessionAuthenticated
public void setSessionAuthenticated() -
haveAttemptedAllAuthenticationMethods
-
setAttemptedAllAuthenticationMethods
public void setAttemptedAllAuthenticationMethods() -
getRemoteDomain
-