Sage Modeling and Simulation Library

IOutputPort Members

The IOutputPort type exposes the following members.

Methods


  Name Description
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.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 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.)

Properties


  Name Description
Public property IsPeekable
True if Peek can be expected to return meaningful data.
Public property PeekHandler
This sets the DataProvisionHandler that this port will use to handle requests to peek at data on this port, replacing the current one. This should be used only by objects under the control of, or owned by, the IPortOwner that owns this port.
Public property TakeHandler
This sets the DataProvisionHandler that this port will use to handle requests to take data from this port, replacing the current one. This should be used only by objects under the control of, or owned by, the IPortOwner that owns this port.

Events


  Name Description
Public event DataAvailable
This event is fired when new data is available to be taken from a port.