Sage Modeling and Simulation Library

SimpleServer Class

A SimpleServer is a single-channeled server that accepts one object from its input port, waits a specified timespan, and then presents that object to its output port. It does not permit its own outputs to be refused.

When a server becomes idle, it attempts to pull from its input port. If it is successful, it becomes busy for a timespan, determined by a timespan distribution after which the object is presented to its output port. Once the object at its output port is taken, the server becomes idle. If an object is presented on its input port and it is busy, it rejects the presentation by returning false. If it is not busy when the presentation is made, then it accepts the new arrival, and commences working on it for a timespan. When the timespan expires, the object is placed on its output port.

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

Syntax


public class SimpleServer : IServer

Inheritance Hierarchy


Object
  Highpoint.Sage.ItemBased.Servers..::..SimpleServer