LumiSoft Mail Server User API
SIP_ServerTransaction Class
Namespaces > LumiSoft.Net.SIP > SIP_ServerTransaction
Implements SIP server transaction. Defined in RFC 3261 17.2 Server Transaction. A transaction is a sequence of SIP messages exchanged between SIP network elements. Server transaction is created when remote UA (client transaction) request is received by local UA. Server transaction provides way to send responses back to remote UA client transaction.
Syntax

C# | Visual Basic | Managed C++

    public class SIP_ServerTransaction : SIP_Transaction

    Public Class SIP_ServerTransaction _
    	Inherits SIP_Transaction

    public ref class SIP_ServerTransaction : public SIP_Transaction

Members

All Members | Constructors | Methods | Properties | Fields | Events
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| AllowForking | Gets or sets if request forking can be done.
| Cancel() | Cancels transaction. (Overrides SIP_Transaction.Cancel().)
| Canceled | Is raised if transaction is canceled. (Inherited from SIP_Transaction.)
| CanCreateDialog | Gets or sets if transaction can create SIP dialog. (Inherited from SIP_Transaction.)
| ClientTransactions | Gets client transactions associated with this server transaction.
| CreateClientTransaction(SIP_Request, String) | Creates new client transaction and adds to SIP stack transactions and this server transactions collection. Throws ArgumentException if AllowForking = false and there is already 1 active client transaction.
| CreateTime | Gets time when this transaction was created. (Inherited from SIP_Transaction.)
| Dialog | Gets transaction dialog. Returns null if no dialog available. (Overrides SIP_Transaction.Dialog.)
| Dispose() | Disposes transaction and cleans up all resources.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetLastFinalResponse() | Gets last final(2xx > 699) response from responses collection. Returns null if no final responses. (Inherited from SIP_Transaction.)
| GetLastProvisionalResponse() | Gets last provisional(1xx) response from responses collection. Returns null if no provisional responses. (Inherited from SIP_Transaction.)
| GetType() | Gets the Type of the current instance. (Inherited from Object.)
| ID | Gets transaction ID (Via: branch parameter value). (Overrides SIP_Transaction.ID.)
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.)
| OnCanceled() | Raises Canceled event. (Inherited from SIP_Transaction.)
| OnTerminated() | Raises Terminated event. (Inherited from SIP_Transaction.)
| OnTimedOut() | Raises TimedOut event. (Inherited from SIP_Transaction.)
| OnTransportError() | Raises TimedOut event. (Inherited from SIP_Transaction.)
| Request | Gets request what created this server transaction. (Overrides SIP_Transaction.Request.)
| Responses | Gets transaction related responses. (Overrides SIP_Transaction.Responses.)
| SendResponse(SIP_Response) | Sends a SIP response message to the client transaction whose request initiated this server transaction. The response value must be SIP_ServerTransaction.Request.CreateResponse value.
| Tag | Gets or sets user data.
| Terminated | Is raised if transaction is terminated. (Inherited from SIP_Transaction.)
| TimedOut | Is raised if transaction is timed out. (Inherited from SIP_Transaction.)
| ToString() | Returns a String that represents the current Object. (Inherited from Object.)
| TransactionState | Gets current transaction state.
| TransportError | Is raised when there is transport error. (Inherited from SIP_Transaction.)

Remarks
Inheritance Hierarchy

Object
| SIP_Transaction
|  | SIP_ServerTransaction

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)