// Token: 0x0600079D RID: 1949 RVA: 0x00024D10 File Offset: 0x00022F10 public static void HandleRequest(RpcGenericRequestInfo requestInfo, ref RpcGenericReplyInfo replyInfo) { RpcGenericReplyInfo tmpReplyInfo = null; RpcUpdateLastLogImpl.Request req = null; RpcUpdateLastLogImpl.Reply rep = new RpcUpdateLastLogImpl.Reply(); Exception ex = AmHelper.HandleKnownExceptions(delegate(object param0, EventArgs param1) { req = ActiveManagerGenericRpcHelper.ValidateAndGetAttachedRequest <RpcUpdateLastLogImpl.Request>(requestInfo, 1, 0); ExDateTime exDateTime = ExDateTime.MinValue; AmCachedLastLogUpdater pamCachedLastLogUpdater = AmSystemManager.Instance.PamCachedLastLogUpdater; if (pamCachedLastLogUpdater != null) { exDateTime = pamCachedLastLogUpdater.AddEntries(req.ServerName, req.InitiatedTimeUtc, req.LastLogEntries); } rep.LastSuccessfulUpdateTimeUtc = exDateTime.UniversalTime; tmpReplyInfo = ActiveManagerGenericRpcHelper.PrepareServerReply(requestInfo, rep, 1, 0); }); if (tmpReplyInfo != null) { replyInfo = tmpReplyInfo; } if (ex != null) { throw new AmServerException(ex.Message, ex); } }
// Token: 0x0600079E RID: 1950 RVA: 0x00024D78 File Offset: 0x00022F78 internal static DateTime Send(AmServerName originatingServer, AmServerName targetServer, Dictionary <string, string> dbLastLogMap) { RpcUpdateLastLogImpl.Request attachedRequest = new RpcUpdateLastLogImpl.Request(originatingServer.Fqdn, dbLastLogMap); RpcGenericRequestInfo requestInfo = ActiveManagerGenericRpcHelper.PrepareClientRequest(attachedRequest, 2, 1, 0); RpcUpdateLastLogImpl.Reply reply = ActiveManagerGenericRpcHelper.RunRpcAndGetReply <RpcUpdateLastLogImpl.Reply>(requestInfo, targetServer.Fqdn, RegistryParameters.PamLastLogRpcTimeoutInMsec); return(reply.LastSuccessfulUpdateTimeUtc); }