Class RespondingServerStanzaHandler


  • public class RespondingServerStanzaHandler
    extends StanzaHandler
    Stanza handler for responding to incoming stanzas when the server is acting as the client in an S2S scenario.
    Author:
    Alex Gidman, Matthew Vivian
    • Constructor Detail

      • 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 Detail

      • isSessionAuthenticated

        public boolean isSessionAuthenticated()
      • setSessionAuthenticated

        public void setSessionAuthenticated​(boolean authenticated)
      • haveAttemptedAllAuthenticationMethods

        public boolean haveAttemptedAllAuthenticationMethods()
      • setAttemptedAllAuthenticationMethods

        public void setAttemptedAllAuthenticationMethods​(boolean haveAttemptedAllAuthenticationMethods)