voidenableTimeRegulation(doublefederate_time, doublelookahead)

Arguments

doublelookahead - Lookahead value for a regulating federate, this value determines the frequency of calling the timeAdvanceRequest() method.

voiddisableTimeRegulation()

Disables time regulation mode for the federate.

voidenableTimeConstrained()

Enables time-constrained mode for the federate.

voiddisableTimeConstrained()

Disables time-constrained mode for the federate.

voidtimeAdvanceRequest(doubletime)

Issues a Time Advance Request for the federate.

Notice

This method is used by time-stepped federates.

Arguments

doubletime - Time value.

voidtimeAdvanceRequestAvailable(doubletime)

Enables time regulation mode for the federate.

Notice

This method is used by time-stepped federates.

Arguments

doubletime - Time value.

voidnextEventRequest(doubletime)

Advances the federate’s logical time to the time-stamp of the next relevant TSO event in the federation.

Notice

This method is used by event-based federates.

Arguments

doubletime - Time stamp of the next local event the federate wishes to advance to.

voidnextEventRequestAvailable(doubletime)

Advances the federate’s logical time to the time-stamp of the next relevant TSO event in the federation. The method is similar to nextEventRequest(), except that a time advance might be granted before all TSO events at the grant time have been delivered to the federate.

Notice

This method is used by event-based federates.

Arguments

doubletime - Time stamp of the next local event the federate wishes to advance to.

voidflushQueueRequest(doubletime)

Process all federation events regardless of time.

Arguments

doubletime - Time value.

voidenableAsynchronousDelivery()

Instructs the LRC to begin delivering receive-ordered events to the federate even while no time-advancement service is in progress.

voiddisableAsynchronousDelivery()

Instructs the LRC not to deliver receive-ordered events in the absense of an in-progress time-advancement service. This has only a meaning for time-constrained federates, since non-constrained federates receive all events in receive order.

voidmodifyLookahead(doublelookahead)

Sets the new lookahead window for the federate.

Arguments

doublelookahead - New size of the interval extending forward from the federate’s logical time at a given point in execution in which a federate will not generate any time stamp ordered events.