Package org.jivesoftware.openfire.net
Class MultiplexerStanzaHandler
java.lang.Object
org.jivesoftware.openfire.net.StanzaHandler
org.jivesoftware.openfire.net.MultiplexerStanzaHandler
Handler of XML stanzas sent by Connection Managers.
- Author:
- Gaston Dombiak
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessIQ(org.xmpp.packet.IQ packet) Process the received IQ packet.protected voidprocessMessage(org.xmpp.packet.Message packet) Process the received Message packet.protected voidprocessPresence(org.xmpp.packet.Presence packet) Process the received Presence packet.Methods inherited from class org.jivesoftware.openfire.net.StanzaHandler
closeNeverEncryptedConnection, compressClient, compressionSuccessful, createSession, getAddress, getStreamHeader, initiateSession, isEndOfStream, isHostUnknown, isStartOfStream, isStreamManagementStanza, negotiateTLS, process, processStanza, saslSuccessful, setSession, tlsNegotiated
-
Constructor Details
-
MultiplexerStanzaHandler
-
-
Method Details
-
processIQ
protected void processIQ(org.xmpp.packet.IQ packet) Description copied from class:StanzaHandlerProcess the received IQ packet. RegisteredPacketInterceptorwill be invoked before and after the packet was routed.Subclasses may redefine this method for different reasons such as modifying the sender of the packet to avoid spoofing, rejecting the packet or even process the packet in another thread.
- Overrides:
processIQin classStanzaHandler- Parameters:
packet- the received packet.
-
processMessage
Description copied from class:StanzaHandlerProcess the received Message packet. RegisteredPacketInterceptorwill be invoked before and after the packet was routed.Subclasses may redefine this method for different reasons such as modifying the sender of the packet to avoid spoofing, rejecting the packet or even process the packet in another thread.
- Overrides:
processMessagein classStanzaHandler- Parameters:
packet- the received packet.- Throws:
UnauthorizedException- if service is not available to sender.
-
processPresence
Description copied from class:StanzaHandlerProcess the received Presence packet. RegisteredPacketInterceptorwill be invoked before and after the packet was routed.Subclasses may redefine this method for different reasons such as modifying the sender of the packet to avoid spoofing, rejecting the packet or even process the packet in another thread.
- Overrides:
processPresencein classStanzaHandler- Parameters:
packet- the received packet.- Throws:
UnauthorizedException- if service is not available to sender.
-