public class TimerWithinGuardFactory extends Object implements GuardFactory
TimerWithinGuard
instances.Constructor and Description |
---|
TimerWithinGuardFactory() |
Modifier and Type | Method and Description |
---|---|
long |
computeTime(MatchedEventMap beginState,
PatternAgentInstanceContext context) |
Guard |
makeGuard(PatternAgentInstanceContext context,
MatchedEventMap beginState,
Quitable quitable,
Object guardState)
Constructs a guard instance.
|
void |
setDeltaCompute(PatternDeltaCompute deltaCompute) |
void |
setScheduleCallbackId(int scheduleCallbackId) |
public void setDeltaCompute(PatternDeltaCompute deltaCompute)
public void setScheduleCallbackId(int scheduleCallbackId)
public long computeTime(MatchedEventMap beginState, PatternAgentInstanceContext context)
public Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState)
GuardFactory
makeGuard
in interface GuardFactory
context
- - services for use by guardbeginState
- - the prior matching eventsquitable
- - to use for indicating the guard has quitguardState
- - state node for guardCopyright © 2005–2019. All rights reserved.