C# Class SipSharp.Transactions.ClientInviteTransaction

Client transaction for INVITE message

A INVITE message is being sent by the client, track it and make sure that it gets a FINAL response.

Inheritance: IClientTransaction
Datei anzeigen Open project: jgauffin/SipSharp Class Usage Examples

Public Methods

Method Description
Cleanup ( ) : void

We like to reuse transaction objects. Remove all references to the transaction and reset all parameters.

ClientInviteTransaction ( ITransportLayer transport, IRequest request ) : System

Initializes a new instance of the ClientInviteTransaction class.

Process ( IResponse response, EndPoint endPoint ) : bool

Protected Methods

Method Description
CreateAck ( IResponse response ) : IRequest

Private Methods

Method Description
OnRetransmission ( object state ) : void
OnTerminate ( object state ) : void
OnTimeout ( object state ) : void
SendAck ( IResponse response ) : void
Terminate ( ) : void

Method Details

Cleanup() public method

We like to reuse transaction objects. Remove all references to the transaction and reset all parameters.
public Cleanup ( ) : void
return void

ClientInviteTransaction() public method

Initializes a new instance of the ClientInviteTransaction class.
public ClientInviteTransaction ( ITransportLayer transport, IRequest request ) : System
transport ITransportLayer Transport layer used to send stuff.
request IRequest Request that will be sent immidiately by the transaction.
return System

CreateAck() protected method

protected CreateAck ( IResponse response ) : IRequest
response IResponse
return IRequest

Process() public method

public Process ( IResponse response, EndPoint endPoint ) : bool
response IResponse
endPoint System.Net.EndPoint
return bool