Sage Modeling and Simulation Library

SimpleOutputPort Methods

The SimpleOutputPort type exposes the following members.

Methods


  Name Description
Protected method DetachedPortInUse (Inherited from GenericPort.)
Public method DetachHandlers
Detaches this input port's data arrival handler.
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 GetOutOfBandData()()()()
Returns the default out-of-band data from this port. Out-of-band data is data that is not material that is to be transferred out of, or into, this port, but rather context, type, or other metadata to the transfer itself.
(Inherited from GenericPort.)
Public method GetOutOfBandData(Object)
Returns out-of-band data from this port. Out-of-band data is data that is not material that is to be transferred out of, or into, this port, but rather context, type, or other metadata to the transfer itself.
(Inherited from GenericPort.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeIdentity
Initializes the fields that feed the properties of this IModelObject identity.
(Inherited from GenericPort.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NotifyDataAvailable
This method is called when a Port Owner passively provides data objects - that is, it has a port on which it makes data available, but it expects others to pull from that port, rather than it pushing data to the port's peers. So, for example, a queue might call this method (a) when it is ready to discharge an object from the queue to an output port, or (b) immediately following an object being pulled from the output port, if there is another waiting right behind it.
Protected method OnAcceptingData
Handler for the acceptance of data. For an output port, this will be the port accepting data from the port owner, and for an input port, it will be the port's peer accepting data offered through the connector by this port.
(Inherited from GenericPort.)
Protected method OnPresentingData
Handler for arrival of data. For an output port, this will be the PortOwner presenting data to the port, for an input port, it will be the IPort's peer presenting data through the connector.
(Inherited from GenericPort.)
Protected method OnRejectingData
Handler for the acceptance of data. For an output port, this will be the port accepting data from the port owner, and for an input port, it will be the port's peer accepting data offered through the connector by this port.
(Inherited from GenericPort.)
Public method OwnerPut
Called by the port owner to put data on the port.
Public method Peek
Nonconsumptively returns the contents of this port. A subsequent Take may or may not produce the same object, if, for example, the stuff produced from this port is time-sensitive.
Public method SetDefaultOutOfBandData
Sets the default out-of-band data.
(Inherited from GenericPort.)
Public method SetOutOfBandData
Sets an out-of-band data item based on its key.
(Inherited from GenericPort.)
Public method Take
This method removes and returns the current contents of the port.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)