服务器启动时加载
NotificationController 负责消息通知的类
NotificationManager 负责消息通知的管理类
SessionManager 管理连接服务器的session
XmppServer 管理整个服务器的类:加载spring-config.xml配置文件
Config 配置文件类
ConfigManager 管理配置文件的类
加载config.xml文件  

res:<stream:stream to="192.168.1.100" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">

send:<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="127.0.0.1" >

SENT: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

org.androidpn.server.xmpp.net.XmppIoHandler

org.apache.mina.transport.socket.nio.NioSocketAcceptor

org.apache.mina.filter.executor.OrderedThreadPoolExecutor   当有连接请求时

StanzaHandler

PacketRouter

MessageRouter

PresenceRouter

presenceUpdateHandler

IQRouter

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2021-12-15
  • 2021-06-26
  • 2021-09-24
  • 2021-12-04
  • 2021-11-01
猜你喜欢
  • 2021-09-28
  • 2021-11-21
  • 2021-12-14
  • 2021-10-30
  • 2022-01-07
  • 2022-12-23
  • 2022-01-23
相关资源
相似解决方案