Exemple #1
0
        private void StartLocal()
        {
            var socketServer = new SocketServer.ServerExtension();

            _messagingServer.Inject(socketServer);

            //socketServer.Start(_messagingServer);
        }
Exemple #2
0
        public void Start()
        {
            var wsServerExtension = new WebSocketServer.ServerExtension();

            _messagingServer.Inject(wsServerExtension);

            //wsServerExtension.Start(_messagingServer);
            L.Log("Ws server started");
        }
Exemple #3
0
        private void RunWs(MessagingServer.Server server, ServerContext sctx)
        {
            var manager = new ManagerServiceExtension();

            manager.Main(sctx);

            var wsServerExt = new Prime.WebSocketServer.ServerExtension();

            server.Inject(wsServerExt);
            wsServerExt.Start(server);
        }