The ITConnectionStamp class

Base class: ITObject

Connection events can invalidate value objects to which the application maintains references. A connection stamp can be extracted from a connection and compared to a previously extracted connection stamp to determine whether the connection object calls the same server connection and transaction. This object is intended primarily for the development of DataBlade® value objects. For more details, see Value objects and connection events.

Typically, a user object gets a connection stamp when it establishes a connection. Whenever the value object must verify that this transaction or connection is current, it gets another connection stamp and compares them using one of the comparison methods listed in the following table.

This class provides the following methods.
Method Description
ITBool Equal(const ITConnectionStamp &) const Indicates whether these stamps refer to the same connection and transaction.
ITBool EqualConnInstance(const ITConnectionStamp &) const Indicates whether these stamps refer to the same connection instance.
ITBool EqualTransactionInstance(const ITConnectionStamp &) const Indicates whether these stamps refer to the same transaction.