Sage Modeling and Simulation Library

ITupleSpace Members

The ITupleSpace type exposes the following members.

Methods


  Name Description
Public method BlockWhilePresent
Blocks the calling thread until the specified key is not in the TupleSpace.
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 Post(ITuple, Boolean)
Posts the specified tuple. If blocking is true, this call blocks the caller's thread until the Tuple is taken from the space by another caller.
Public method Post(Object, Object, Boolean)
Posts a Tuple with the specified key and data. If blocking is true, this call blocks the caller's thread until the Tuple is taken from the space by another caller.
Public method Read
Reads the specified key, returning null if it is not present in the TupleSpace.
Public method Take
Takes the Tuple entered under the specified key.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property PermitsDuplicateKeys
Gets a value indicating whether this TupleSpace permits multiple Tuples to be posted under the same key. Currently, this will be false.

Events


  Name Description
Public event TuplePosted
Fires when a Tuple has been posted.
Public event TupleRead
Fires when a Tuple has been read.
Public event TupleTaken
Fires when a Tuple has been taken.