public class TimerWithinOrMaxCountGuardForge extends Object implements GuardForge, ScheduleHandleCallbackProvider
Modifier and Type | Field and Description |
---|---|
protected MatchedEventConvertorForge |
convertor
For converting matched-events maps to events-per-stream.
|
Constructor and Description |
---|
TimerWithinOrMaxCountGuardForge() |
Modifier and Type | Method and Description |
---|---|
void |
collectSchedule(short factoryNodeId,
Function<Short,CallbackAttribution> callbackAttribution,
List<ScheduleHandleTracked> schedules) |
int |
getScheduleCallbackId() |
CodegenExpression |
makeCodegen(CodegenMethodScope parent,
SAIFFInitializeSymbol symbols,
CodegenClassScope classScope) |
void |
setGuardParameters(List<ExprNode> parameters,
MatchedEventConvertorForge convertor,
StatementCompileTimeServices services)
Sets the guard object parameters.
|
void |
setScheduleCallbackId(int id) |
protected transient MatchedEventConvertorForge convertor
public void setGuardParameters(List<ExprNode> parameters, MatchedEventConvertorForge convertor, StatementCompileTimeServices services) throws GuardParameterException
GuardForge
setGuardParameters
in interface GuardForge
parameters
- is a list of parametersconvertor
- for converting aservices
- servicesGuardParameterException
- thrown to indicate a parameter problempublic void setScheduleCallbackId(int id)
setScheduleCallbackId
in interface ScheduleHandleCallbackProvider
public int getScheduleCallbackId()
getScheduleCallbackId
in interface ScheduleHandleCallbackProvider
public void collectSchedule(short factoryNodeId, Function<Short,CallbackAttribution> callbackAttribution, List<ScheduleHandleTracked> schedules)
collectSchedule
in interface GuardForge
public CodegenExpression makeCodegen(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
makeCodegen
in interface GuardForge
Copyright © 2005–2021. All rights reserved.