public class TimerWithinGuardFactory extends Object implements GuardFactory
TimerWithinGuard
instances.Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
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 static final EPTypeClass EPTYPE
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–2021. All rights reserved.