/// <summary> /// 心跳 /// </summary> /// <param name="receive"></param> /// <returns></returns> private string KeepAlive(string receive) { KeepAliveEntity param = SerializeHelper.Deserialize <KeepAliveEntity>(receive); KeepAliveEntity entity = new KeepAliveEntity(); entity.Success = true; entity.Message = string.Empty; entity.UserName = string.Empty; string result = SerializeHelper.Serialize(entity); return(result); }
public KeepAliveEntity KeepAlive(KeepAliveEntity entity, RemoteServer remote) { entity = remote.Commond <KeepAliveEntity>(entity, "0009"); return(entity); }