Sage Modeling and Simulation Library

ResourceServer Methods

The ResourceServer type exposes the following members.

Methods


  Name Description
Public method AddPort(IPort)
Registers a port with this IPortOwner
(Inherited from ServerPlus.)
Public method AddPort(String)
Adds a port to this object's port set in the specified role or channel.
(Inherited from ServerPlus.)
Public method AddPort(String, Guid)
Adds a port to this object's port set in the specified role or channel.
(Inherited from ServerPlus.)
Protected method CanWeProcessServiceObjectHandler
Public method ClearPorts
Unregisters all ports that this IPortOwner knows to be its own.
(Inherited from ServerPlus.)
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.
(Inherited from ServerPlus.)
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.
(Inherited from ServerPlus.)
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.
(Inherited from ServerPlus.)
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.
(Inherited from ServerPlus.)
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.
(Inherited from ServerPlus.)
Public method RemovePort
Unregisters a port from this IPortOwner.
(Inherited from ServerPlus.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected method TryToPullServiceObject (Inherited from ServerPlus.)