C# Class SIPSorcery.SIP.SIPResponse

Status Codes: 1xx: Provisional -- request received, continuing to process the request; 2xx: Success -- the action was successfully received, understood, and accepted; 3xx: Redirection -- further action needs to be taken in order to complete the request; 4xx: Client Error -- the request contains bad syntax or cannot be fulfilled at this server; 5xx: Server Error -- the server failed to fulfill an apparently valid request; 6xx: Global Failure -- the request cannot be fulfilled at any server.
Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Свойство Type Description
Body string
Created System.DateTime
Header SIPHeader
LocalSIPEndPoint SIPEndPoint
ReasonPhrase string
RemoteSIPEndPoint SIPEndPoint
SIPVersion string
Status SIPResponseStatusCodesEnum
StatusCode int

Méthodes publiques

Méthode Description
Copy ( ) : SIPResponse

Creates an identical copy of the SIP Response for the caller.

ParseSIPResponse ( SIPMessage sipMessage ) : SIPResponse
ParseSIPResponse ( string sipMessageStr ) : SIPResponse
SIPResponse ( SIPResponseStatusCodesEnum responseType, string reasonPhrase, SIPEndPoint localSIPEndPoint ) : NUnit.Framework
ToString ( ) : string

Private Methods

Méthode Description
SIPResponse ( ) : NUnit.Framework

Method Details

Copy() public méthode

Creates an identical copy of the SIP Response for the caller.
public Copy ( ) : SIPResponse
Résultat SIPResponse

ParseSIPResponse() public static méthode

public static ParseSIPResponse ( SIPMessage sipMessage ) : SIPResponse
sipMessage SIPMessage
Résultat SIPResponse

ParseSIPResponse() public static méthode

public static ParseSIPResponse ( string sipMessageStr ) : SIPResponse
sipMessageStr string
Résultat SIPResponse

SIPResponse() public méthode

public SIPResponse ( SIPResponseStatusCodesEnum responseType, string reasonPhrase, SIPEndPoint localSIPEndPoint ) : NUnit.Framework
responseType SIPResponseStatusCodesEnum
reasonPhrase string
localSIPEndPoint SIPEndPoint
Résultat NUnit.Framework

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Body public_oe property

public string Body
Résultat string

Created public_oe property

public DateTime,System Created
Résultat System.DateTime

Header public_oe property

public SIPHeader,SIPSorcery.SIP Header
Résultat SIPHeader

LocalSIPEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP LocalSIPEndPoint
Résultat SIPEndPoint

ReasonPhrase public_oe property

public string ReasonPhrase
Résultat string

RemoteSIPEndPoint public_oe property

public SIPEndPoint,SIPSorcery.SIP RemoteSIPEndPoint
Résultat SIPEndPoint

SIPVersion public_oe property

public string SIPVersion
Résultat string

Status public_oe property

public SIPResponseStatusCodesEnum Status
Résultat SIPResponseStatusCodesEnum

StatusCode public_oe property

public int StatusCode
Résultat int