Sage Modeling and Simulation Library

IConnector Methods

The IConnector type exposes the following members.

Methods


  Name Description
Public method Connect
Connects the specified port, p1 (the upstream port) to the specified port, p2 (the downstream port.)
Public method Disconnect
Disconnects this connector from its upstream and downstream ports, and then removes them from their owners, if possible.
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()()()()
Retrieves the default out-of-band data for this port. This data is set via an API on GenericPort.
Public method GetOutOfBandData(Object)
Retrieves the out-of-band data corresponding to the provided key, for this port. This data is set via an API on GenericPort.
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 NotifyDataAvailable
Called by the upstream port to inform the connector, and thereby the downstream port, that an item is available for pull by its owner.
Public method Peek
Propagates a 'Peek' operation through this connector to the upstream port.
Public method Put
Puts the specified data onto the downstream port, if possible.
Public method Take
Propagates a 'Take' operation through this connector to the upstream port.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)