Sage Modeling and Simulation Library

MultiChannelDelayServer Constructor (IModel, String, Guid, TimeSpanDistribution, Int32)

Creates a Server that accepts service objects on its input port, and holds them for a duration specified by a TimeSpanDistribution before emitting them from its output port. It currently is designed always to be "in service."

Namespace:  Highpoint.Sage.ItemBased.Servers
Assembly:  Sage4 (in Sage4.dll)

Syntax


public MultiChannelDelayServer(
	IModel model,
	string name,
	Guid guid,
	TimeSpanDistribution timeSpanDistribution,
	int capacity
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model in which this buffered server will operate.
name
Type: String
The name given to this server.
guid
Type: Guid
The guid that this server will be known by.
timeSpanDistribution
Type: Highpoint.Sage.Mathematics..::..TimeSpanDistribution
The TimeSpanDistribution that specifies how long each object is held.
capacity
Type: Int32
The capacity of this server to hold service objects (i.e. how many it can hold)