C# Class SIPSorcery.SIP.SIPTransaction

Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Свойство 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

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
FireTransactionStateChangedEvent ( ) : void
FireTransactionTraceMessage ( string message ) : void
RemoveEventHandlers ( ) : void
ResponseRetransmit ( ) : void
UpdateTransactionState ( SIPTransactionStatesEnum transactionState ) : void

Method Details

ACKReceived() public méthode

public ACKReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipRequest SIPRequest
Résultat void

Cancel() protected méthode

protected Cancel ( ) : void
Résultat void

FireTransactionRemoved() public méthode

public FireTransactionRemoved ( ) : void
Résultat void

FireTransactionTimedOut() public méthode

public FireTransactionTimedOut ( ) : void
Résultat void

GetInfoResponse() protected méthode

protected GetInfoResponse ( SIPRequest sipRequest, SIPResponseStatusCodesEnum sipResponseCode ) : SIPResponse
sipRequest SIPRequest
sipResponseCode SIPResponseStatusCodesEnum
Résultat SIPResponse

GetRequestTransactionId() public static méthode

public static GetRequestTransactionId ( string branchId, SIPMethodsEnum method ) : string
branchId string
method SIPMethodsEnum
Résultat string

GotRequest() public méthode

public GotRequest ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipRequest SIPRequest
Résultat void

GotResponse() public méthode

public GotResponse ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPResponse sipResponse ) : void
localSIPEndPoint SIPEndPoint
remoteEndPoint SIPEndPoint
sipResponse SIPResponse
Résultat void

RequestRetransmit() public méthode

public RequestRetransmit ( ) : void
Résultat void

ResendAckRequest() public méthode

public ResendAckRequest ( ) : void
Résultat void

RetransmitFinalResponse() public méthode

public RetransmitFinalResponse ( ) : void
Résultat void

SIPTransaction() protected méthode

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
Résultat NUnit.Framework

SendFinalResponse() public méthode

public SendFinalResponse ( SIPResponse finalResponse ) : void
finalResponse SIPResponse
Résultat void

SendInformationalResponse() public méthode

public SendInformationalResponse ( SIPResponse sipResponse ) : void
sipResponse SIPResponse
Résultat void

SendReliableRequest() public méthode

public SendReliableRequest ( ) : void
Résultat void

SendRequest() public méthode

public SendRequest ( SIPEndPoint dstEndPoint, SIPRequest sipRequest ) : void
dstEndPoint SIPEndPoint
sipRequest SIPRequest
Résultat void

SendRequest() public méthode

public SendRequest ( SIPRequest sipRequest ) : void
sipRequest SIPRequest
Résultat void

Property Details

AckRetransmits public_oe property

public int AckRetransmits
Résultat int

CDR public_oe property

public SIPCDR,SIPSorcery.SIP CDR
Résultat SIPCDR

CompletedAt public_oe property

public DateTime,System CompletedAt
Résultat System.DateTime

Created public_oe property

public DateTime,System Created
Résultat System.DateTime

DeliveryFailed public_oe property

public bool DeliveryFailed
Résultat bool

DeliveryPending public_oe property

public bool DeliveryPending
Résultat bool

InitialTransmit public_oe property

public DateTime,System InitialTransmit
Résultat System.DateTime

LastTransmit public_oe property

public DateTime,System LastTransmit
Résultat System.DateTime

LocalSIPEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP LocalSIPEndPoint
Résultat SIPEndPoint

OutboundProxy public_oe property

public SIPEndPoint,SIPSorcery.SIP OutboundProxy
Résultat SIPEndPoint

RemoteEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP RemoteEndPoint
Résultat SIPEndPoint

Retransmits public_oe property

public int Retransmits
Résultat int

TimedOutAt public_oe property

public DateTime,System TimedOutAt
Résultat System.DateTime

TransactionType public_oe property

public SIPTransactionTypesEnum TransactionType
Résultat SIPTransactionTypesEnum

TransactionsCreated public_oe property

public Int64,System TransactionsCreated
Résultat System.Int64

TransactionsDestroyed public_oe property

public Int64,System TransactionsDestroyed
Résultat System.Int64

logger protected_oe static_oe property

protected static ILog,log4net logger
Résultat log4net.ILog

m_ackRequest protected_oe property

protected SIPRequest,SIPSorcery.SIP m_ackRequest
Résultat SIPRequest

m_ackRequestIPEndPoint protected_oe property

protected SIPEndPoint,SIPSorcery.SIP m_ackRequestIPEndPoint
Résultat SIPEndPoint

m_branchId protected_oe property

protected string m_branchId
Résultat string

m_callId protected_oe property

protected string m_callId
Résultat string

m_localTag protected_oe property

protected string m_localTag
Résultat string

m_maxRingTime protected_oe static_oe property

protected static int m_maxRingTime
Résultat int

m_remoteTag protected_oe property

protected string m_remoteTag
Résultat string

m_t1 protected_oe static_oe property

protected static int m_t1
Résultat int

m_t6 protected_oe static_oe property

protected static int m_t6
Résultat int

m_transactionFinalResponse protected_oe property

protected SIPResponse,SIPSorcery.SIP m_transactionFinalResponse
Résultat SIPResponse

m_transactionRequest protected_oe property

protected SIPRequest,SIPSorcery.SIP m_transactionRequest
Résultat SIPRequest