Sage Modeling and Simulation Library

ResourceServer Members

The ResourceServer type exposes the following members.

Constructors


  Name Description
Public method ResourceServer

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.)

Properties


  Name Description
Public property Description
A description of this ServerPlus.
(Inherited from ServerPlus.)
Public property Guid (Inherited from ServerPlus.)
Public property Input (Inherited from ServerPlus.)
Public property Model
The model that owns this object, or from which this object gets time, etc. data.
(Inherited from ServerPlus.)
Public property Name (Inherited from ServerPlus.)
Public property Output (Inherited from ServerPlus.)
Public property Periodicity (Inherited from ServerPlus.)
Public property Ports
The public property that is the PortSet this IPortOwner owns.
(Inherited from ServerPlus.)
Protected property RequiresAsyncEvents
Public property SupportedChannelInfo
Gets the names of supported port channels.
(Inherited from ServerPlus.)
Public property SupportsServerObjects (Inherited from ServerPlus.)

Events


  Name Description
Public event ServiceBeginning
Fires when the server begins servicing an object.
(Inherited from ServerPlus.)
Public event ServiceCompleted
Fires when the server completes servicing an object.
(Inherited from ServerPlus.)