C# Class SIPSorcery.SIP.SIPTransaction

Datei anzeigen Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
AckRetransmits int
CDR SIPCDR
CompletedAt System.DateTime
Created System.DateTime
DeliveryFailed bool
DeliveryPending bool
InitialTransmit System.DateTime
LastTransmit System.DateTime
LocalSIPEndPoint SIPEndPoint
OutboundProxy SIPEndPoint
RemoteEndPoint SIPEndPoint
Retransmits int
TimedOutAt System.DateTime
TransactionType SIPTransactionTypesEnum
TransactionsCreated System.Int64
TransactionsDestroyed System.Int64

Protected Properties

Property Type Description
logger log4net.ILog
m_ackRequest SIPRequest
m_ackRequestIPEndPoint SIPEndPoint
m_branchId string
m_callId string
m_localTag string
m_maxRingTime int
m_remoteTag string
m_t1 int
m_t6 int
m_transactionFinalResponse SIPResponse
m_transactionRequest SIPRequest

Public Methods

Method Description
ACKReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
FireTransactionRemoved ( ) : void
FireTransactionTimedOut ( ) : void
GetRequestTransactionId ( string branchId, SIPMethodsEnum method ) : string
GotRequest ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
GotResponse ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPResponse sipResponse ) : void
RequestRetransmit ( ) : void
ResendAckRequest ( ) : void
RetransmitFinalResponse ( ) : void
SendFinalResponse ( SIPResponse finalResponse ) : void
SendInformationalResponse ( SIPResponse sipResponse ) : void
SendReliableRequest ( ) : void
SendRequest ( SIPEndPoint dstEndPoint, SIPRequest sipRequest ) : void
SendRequest ( SIPRequest sipRequest ) : void

Protected Methods

Method Description
Cancel ( ) : void
GetInfoResponse ( SIPRequest sipRequest, SIPResponseStatusCodesEnum sipResponseCode ) : SIPResponse
SIPTransaction ( SIPTransport sipTransport, SIPRequest transactionRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, SIPEndPoint outboundProxy ) : NUnit.Framework

Creates a new SIP transaction and adds it to the list of in progress transactions.

Private Methods

Method Description
FireTransactionStateChangedEvent ( ) : void
FireTransactionTraceMessage ( string message ) : void
RemoveEventHandlers ( ) : void
ResponseRetransmit ( ) : void
UpdateTransactionState ( SIPTransactionStatesEnum transactionState ) : void

Method Details

ACKReceived() public method

public ACKReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipRequest SIPRequest
return void

Cancel() protected method

protected Cancel ( ) : void
return void

FireTransactionRemoved() public method

public FireTransactionRemoved ( ) : void
return void

FireTransactionTimedOut() public method

public FireTransactionTimedOut ( ) : void
return void

GetInfoResponse() protected method

protected GetInfoResponse ( SIPRequest sipRequest, SIPResponseStatusCodesEnum sipResponseCode ) : SIPResponse
sipRequest SIPRequest
sipResponseCode SIPResponseStatusCodesEnum
return SIPResponse

GetRequestTransactionId() public static method

public static GetRequestTransactionId ( string branchId, SIPMethodsEnum method ) : string
branchId string
method SIPMethodsEnum
return string

GotRequest() public method

public GotRequest ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipRequest SIPRequest
return void

GotResponse() public method

public GotResponse ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPResponse sipResponse ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipResponse SIPResponse
return void

RequestRetransmit() public method

public RequestRetransmit ( ) : void
return void

ResendAckRequest() public method

public ResendAckRequest ( ) : void
return void

RetransmitFinalResponse() public method

public RetransmitFinalResponse ( ) : void
return void

SIPTransaction() protected method

Creates a new SIP transaction and adds it to the list of in progress transactions.
protected SIPTransaction ( SIPTransport sipTransport, SIPRequest transactionRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, SIPEndPoint outboundProxy ) : NUnit.Framework
sipTransport SIPTransport The SIP Transport layer that is to be used with the transaction.
transactionRequest SIPRequest The SIP Request on which the transaction is based.
dstEndPoint SIPEndPoint The socket the at the remote end of the transaction and which transaction messages will be sent to.
localSIPEndPoint SIPEndPoint The socket that should be used as the send from socket for communications on this transaction. Typically this will /// be the socket the initial request was received on.
outboundProxy SIPEndPoint
return NUnit.Framework

SendFinalResponse() public method

public SendFinalResponse ( SIPResponse finalResponse ) : void
finalResponse SIPResponse
return void

SendInformationalResponse() public method

public SendInformationalResponse ( SIPResponse sipResponse ) : void
sipResponse SIPResponse
return void

SendReliableRequest() public method

public SendReliableRequest ( ) : void
return void

SendRequest() public method

public SendRequest ( SIPEndPoint dstEndPoint, SIPRequest sipRequest ) : void
dstEndPoint SIPEndPoint
sipRequest SIPRequest
return void

SendRequest() public method

public SendRequest ( SIPRequest sipRequest ) : void
sipRequest SIPRequest
return void

Property Details

AckRetransmits public_oe property

public int AckRetransmits
return int

CDR public_oe property

public SIPCDR,SIPSorcery.SIP CDR
return SIPCDR

CompletedAt public_oe property

public DateTime,System CompletedAt
return System.DateTime

Created public_oe property

public DateTime,System Created
return System.DateTime

DeliveryFailed public_oe property

public bool DeliveryFailed
return bool

DeliveryPending public_oe property

public bool DeliveryPending
return bool

InitialTransmit public_oe property

public DateTime,System InitialTransmit
return System.DateTime

LastTransmit public_oe property

public DateTime,System LastTransmit
return System.DateTime

LocalSIPEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP LocalSIPEndPoint
return SIPEndPoint

OutboundProxy public_oe property

public SIPEndPoint,SIPSorcery.SIP OutboundProxy
return SIPEndPoint

RemoteEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP RemoteEndPoint
return SIPEndPoint

Retransmits public_oe property

public int Retransmits
return int

TimedOutAt public_oe property

public DateTime,System TimedOutAt
return System.DateTime

TransactionType public_oe property

public SIPTransactionTypesEnum TransactionType
return SIPTransactionTypesEnum

TransactionsCreated public_oe property

public Int64,System TransactionsCreated
return System.Int64

TransactionsDestroyed public_oe property

public Int64,System TransactionsDestroyed
return System.Int64

logger protected_oe static_oe property

protected static ILog,log4net logger
return log4net.ILog

m_ackRequest protected_oe property

protected SIPRequest,SIPSorcery.SIP m_ackRequest
return SIPRequest

m_ackRequestIPEndPoint protected_oe property

protected SIPEndPoint,SIPSorcery.SIP m_ackRequestIPEndPoint
return SIPEndPoint

m_branchId protected_oe property

protected string m_branchId
return string

m_callId protected_oe property

protected string m_callId
return string

m_localTag protected_oe property

protected string m_localTag
return string

m_maxRingTime protected_oe static_oe property

protected static int m_maxRingTime
return int

m_remoteTag protected_oe property

protected string m_remoteTag
return string

m_t1 protected_oe static_oe property

protected static int m_t1
return int

m_t6 protected_oe static_oe property

protected static int m_t6
return int

m_transactionFinalResponse protected_oe property

protected SIPResponse,SIPSorcery.SIP m_transactionFinalResponse
return SIPResponse

m_transactionRequest protected_oe property

protected SIPRequest,SIPSorcery.SIP m_transactionRequest
return SIPRequest