Sage Modeling and Simulation Library

ServerPlus Methods

The ServerPlus type exposes the following members.

Methods


  Name Description
Public method AddPort(IPort)
Registers a port with this IPortOwner
Public method AddPort(String)
Adds a port to this object's port set in the specified role or channel.
Public method AddPort(String, Guid)
Adds a port to this object's port set in the specified role or channel.
Protected method CanWeProcessServiceObjectHandler
Public method ClearPorts
Unregisters all ports that this IPortOwner knows to be its own.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeIdentity
Initialize the identity of this model object, once.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PlaceInService()()()()
Places the server in service immediately. The server will try immediately to pull and service a service object from its input port.
Public method PlaceInServiceAt
Waits until a specified time, then places the server in service. Can be done directly in code through the PlaceInService() API and an executive event with handler.
Protected method PreCommencementSetupHandler
Protected method PreCompletionTeardownHandler
Public method RemoveFromService()()()()
Removes this server from service immediately. The server will complete servicing its current service item, and then accept no more items.
Public method RemoveFromServiceAt
Removes the server from service at a specified time. The server will complete servicing its current service item, and then accept no more items.
Public method RemovePort
Unregisters a port from this IPortOwner.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected method TryToPullServiceObject