private void OnResponse_Heartbeat(MemoryStream stream, int uid)
        {
            MSG_W2WM_Heartbeat msg = ProtoBuf.Serializer.Deserialize <MSG_W2WM_Heartbeat>(stream);

            _tag.GroupId = (ushort)msg.GroupId;
            _tag.SubId   = (ushort)msg.SubId;
            Log.Debug("{0} recv Heartbeat {1}", _api.ApiTag.GetServerTagString(), _tag.GetServerTagString());
        }
        public void Heartbeat()
        {
            MSG_W2WM_Heartbeat requset = new MSG_W2WM_Heartbeat();

            requset.GroupId = _api.ApiTag.GroupId;
            requset.SubId   = _api.ApiTag.SubId;
            Send(requset);
            Log.Info("Heartbeat to {0}", Tag.GetServerTagString());
        }