コード例 #1
0
        public Answer Kickout(Int64 connectionId, string endpoint, Quest quest)
        {
            RTMControlCenter.CloseSession(connectionId);

            if (questProcessor != null)
            {
                questProcessor.Kickout();
            }

            return(null);
        }
コード例 #2
0
        public Answer Kickout(Int64 connectionId, string endpoint, Quest quest)
        {
            bool closed = RTMControlCenter.GetClientStatus(connectionId) == RTMClient.ClientStatus.Closed;

            RTMControlCenter.CloseSession(connectionId);

            if (questProcessor != null && closed == false)
            {
                questProcessor.Kickout();
            }

            return(null);
        }