Class StanzaProcessor


  • @Bean(name="stanzaProcessor",
          active=true)
    public class StanzaProcessor
    extends java.lang.Object
    • Constructor Detail

      • StanzaProcessor

        public StanzaProcessor()
    • Method Detail

      • getModules

        public java.util.List<Module> getModules()
      • setModules

        public void setModules​(java.util.List<Module> modules)
      • setResponseManager

        public void setResponseManager​(ResponseManager responseManager)
      • setWriter

        public void setWriter​(PacketWriter writer)
      • processPacket

        public void processPacket​(Packet packet)
      • sendException

        public void sendException​(Packet packet,
                                  ComponentException e)
        Converts ComponentException to XMPP error stanza and sends it to sender of packet.
        Parameters:
        packet - packet what caused exception.
        e - exception.