Exemplo n.º 1
0
        // Session 생성
        protected SessionBase CreateSession(Socket socket)
        {
            SessionBase session = m_sessionHandler.CreateSession(socket);

            if (null == session)
            {
                return(null);
            }

            session.m_handlerReceived     += OnReceiveMessage;
            session.m_handlerDisconnected += OnDisconnectSession;

            return(session);
        }