Click or drag to resize
Transaction Class
A single transaction pairing a request with a response. Transactions are waitable objects that success or fail as a whole. Transactions can also be aborted.
Inheritance Hierarchy
SystemObject
  StreamCoders.RtspTransaction

Namespace: StreamCoders.Rtsp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class Transaction

The Transaction type exposes the following members.

Constructors
  NameDescription
Public methodTransaction
Default constructor.
Top
Properties
  NameDescription
Public propertyIsComplete
Gets a value indicating whether this object is complete.
Public propertyIsResponseOk
Returns true when the response is a 200 OK and the transaction has not been aborted.
Top
Methods
  NameDescription
Public methodAbort
Aborts transaction by setting event to signaled. So checking sanity would be to receive a WaitComplete = true but IsComplete = false.
Public methodSet
Sets.
Public methodWaitComplete(TimeSpan)
Public methodWaitComplete(TimeSpan, WaitHandle)
Waits for transaction to complete.
Public methodStatic memberWaitMultiple
Waits for all of multiple transactions.
Top
Fields
  NameDescription
Public fieldAssociatedTrack
If this request is nonaggregated it can be associated with a track.
Public fieldIsAborted
Indicates whether the transaction was aborted.
Public fieldRequest
The request.
Public fieldResponse
The response.
Public fieldSequenceNumber
The sequence number.
Public fieldTransactionId
Identifier for the transaction.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also