Class OutputSection
java.lang.Object
QueueNet.NodeSection
NodeSections.PipeSection
NodeSections.OutputSection
- Direct Known Subclasses:
BlockingRouter, Firing, Fork, Linkage, Router
This abstract class implements a generic output section of a NetNode.
- Author:
- Francesco Radaelli
-
Field Summary
Fields inherited from class NodeSection
EXCEPTION_MEASURE_DOES_NOT_EXIST, EXCEPTION_PROPERTY_NOT_AVAILABLE, INPUT, jobsList, logger, MSG_NOT_PROCESSED, MSG_PROCESSED, NO_ADDRESS, OUTPUT, PROPERTY_ID_ARRIVING_JOBS, PROPERTY_ID_AVERAGE_UTILIZATION, PROPERTY_ID_DEPARTING_JOBS, PROPERTY_ID_RESIDENCE_TIME, PROPERTY_ID_RESIDENT_JOBS, PROPERTY_ID_UTILIZATION, SERVICE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of outputSection.OutputSection(boolean auto) Creates a new instance of outputSection.OutputSection(boolean auto, boolean nodeAuto) Creates a new instance of outputSection. -
Method Summary
Modifier and TypeMethodDescriptionprotected RemoveTokensendBackward(int event, Object data, double delay) Sends a message to the service section.protected RemoveTokensendBackward(Job job, double delay) Sends a job to the service section.Methods inherited from class NodeSection
analyze, analyze, analyzeFCR, analyzeFJ, analyzeJoin, analyzeTransition, getClassCompatibilities, getDoubleSectionProperty, getDoubleSectionProperty, getIntSectionProperty, getIntSectionProperty, getJobClasses, getJobInfoList, getObject, getObject, getOwnerNode, getParameter, getParameter, getSectionID, getServerTypes, isEnabled, isEnabled, isMine, isMyOwnerNode, nodeLinked, process, redirect, removeMessage, send, send, send, send, send, send, sendAckAfterDrop, sendMe, sendMe, updateVisitPath
-
Constructor Details
-
OutputSection
public OutputSection()Creates a new instance of outputSection. -
OutputSection
public OutputSection(boolean auto) Creates a new instance of outputSection.- Parameters:
auto- Auto refresh of the jobsList attribute.
-
OutputSection
public OutputSection(boolean auto, boolean nodeAuto) Creates a new instance of outputSection.- Parameters:
auto- Auto refresh of the jobsList attribute.nodeAuto- Auto refresh the jobsList attribute at node level.
-
-
Method Details
-
sendBackward
Sends a job to the service section.- Parameters:
job- Job to be sent.delay- Scheduling delay.- Returns:
- a token to remove sent event.
-
sendBackward
Sends a message to the service section.- Parameters:
event- Message tag.data- Data to be sent.delay- Scheduling delay.- Returns:
- a token to remove sent event.
-