Exemplo n.º 1
0
		public XmppServer()
		{
			StorageManager = new StorageManager();
			userManager = new UserManager(StorageManager);
			AuthManager = new AuthManager();

			streamManager = new XmppStreamManager();
			SessionManager = new XmppSessionManager();

			gateway = new XmppGateway();
			sender = new XmppSender(gateway);

			serviceManager = new XmppServiceManager(this);
			handlerManager = new XmppHandlerManager(streamManager, gateway, sender, this);
		}
Exemplo n.º 2
0
 public override void OnRegister(IServiceProvider serviceProvider)
 {
     ServiceManager = (XmppServiceManager)serviceProvider.GetService(typeof(XmppServiceManager));
 }
Exemplo n.º 3
0
		public void OnRegister(IServiceProvider serviceProvider)
		{
			serviceManager = (XmppServiceManager)serviceProvider.GetService(typeof(XmppServiceManager));
			handlerManager = (XmppHandlerManager)serviceProvider.GetService(typeof(XmppHandlerManager));
		}
Exemplo n.º 4
0
		public override void OnRegister(IServiceProvider serviceProvider)
		{
			ServiceManager = (XmppServiceManager)serviceProvider.GetService(typeof(XmppServiceManager));
		}
Exemplo n.º 5
0
 protected virtual void OnUnregisterCore(XmppHandlerManager handlerManager, XmppServiceManager serviceManager, IServiceProvider serviceProvider)
 {
 }
Exemplo n.º 6
0
        protected virtual void OnUnregisterCore(XmppHandlerManager handlerManager, XmppServiceManager serviceManager, IServiceProvider serviceProvider)
        {

        }