Sage Modeling and Simulation Library

BufferedServer Constructor (IModel, String, Guid, IServer, IQueue, IQueue)

Creates a Buffered Server with the specified server, preQueue and postQueue. If either queue is null, that queue will not be used. The server cannot be null.

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

Syntax


public BufferedServer(
	IModel model,
	string name,
	Guid guid,
	IServer server,
	IQueue preQueue,
	IQueue postQueue
)

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.
server
Type: Highpoint.Sage.ItemBased.Servers..::..IServer
The inner server around which the queues will be placed.
preQueue
Type: Highpoint.Sage.ItemBased.Queues..::..IQueue
The
postQueue
Type: Highpoint.Sage.ItemBased.Queues..::..IQueue