public void OnReceiveHLArequestHandles(HLArequestHandlesMessage msg) { message = msg; if (log.IsDebugEnabled) { log.Debug("Received LastMessage = " + msg.ToString()); } PulseMonitor(); }
public override void OnReceiveHLArequestHandles(HLArequestHandlesMessage msg) { if (log.IsDebugEnabled) { log.Debug("Received HLArequestHandles = " + msg.ToString()); } try { HLAreportHandlesMessage reportHandlesMessage = new HLAreportHandlesMessage(); //reportHandlesMessage.BlockStart = AcquireHandles(msg.BlockSize); reportHandlesMessage.BlockSize = msg.BlockSize; if (log.IsDebugEnabled) { log.Debug("Assigned handles starting at " + reportHandlesMessage.BlockStart); } interactionManager.SendInteraction(reportHandlesMessage); } catch (RTIexception rtie) { throw new FederateInternalError(rtie.ToString()); } }
public void OnReceiveHLArequestHandles(HLArequestHandlesMessage msg) { message = msg; if (log.IsDebugEnabled) log.Debug("Received LastMessage = " + msg.ToString()); PulseMonitor(); }
public override void OnReceiveHLArequestHandles(HLArequestHandlesMessage msg) { if (log.IsDebugEnabled) log.Debug("Received HLArequestHandles = " + msg.ToString()); try { HLAreportHandlesMessage reportHandlesMessage = new HLAreportHandlesMessage(); //reportHandlesMessage.BlockStart = AcquireHandles(msg.BlockSize); reportHandlesMessage.BlockSize = msg.BlockSize; if (log.IsDebugEnabled) log.Debug("Assigned handles starting at " + reportHandlesMessage.BlockStart); interactionManager.SendInteraction(reportHandlesMessage); } catch (RTIexception rtie) { throw new FederateInternalError(rtie.ToString()); } }