internal bool SetLastHeartbeat(TheSessionState pState) { if (TheCommonUtils.IsLocalhost(MyTargetNodeChannel.cdeMID)) { return(true); } if (MyTargetNodeChannel.MySessionState == null) { MyTargetNodeChannel.MySessionState = pState; } ResetHeartbeatTimer(false, MyTargetNodeChannel.MySessionState); return(true); }
/// <summary> /// Returns True if this user is logged on to the current node. /// </summary> /// <returns></returns> public bool IsOnCurrentNode() { return(TheCommonUtils.IsLocalhost(HomeNode)); }