C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Body string
Created System.DateTime
Header SIPHeader
LocalSIPEndPoint SIPEndPoint
ReasonPhrase string
RemoteSIPEndPoint SIPEndPoint
SIPVersion string
Status SIPResponseStatusCodesEnum
StatusCode int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
SIPResponse ( ) : NUnit.Framework

Описание методов

Copy() публичный Метод

Creates an identical copy of the SIP Response for the caller.
public Copy ( ) : SIPResponse
Результат SIPResponse

ParseSIPResponse() публичный статический Метод

public static ParseSIPResponse ( SIPMessage sipMessage ) : SIPResponse
sipMessage SIPMessage
Результат SIPResponse

ParseSIPResponse() публичный статический Метод

public static ParseSIPResponse ( string sipMessageStr ) : SIPResponse
sipMessageStr string
Результат SIPResponse

SIPResponse() публичный Метод

public SIPResponse ( SIPResponseStatusCodesEnum responseType, string reasonPhrase, SIPEndPoint localSIPEndPoint ) : NUnit.Framework
responseType SIPResponseStatusCodesEnum
reasonPhrase string
localSIPEndPoint SIPEndPoint
Результат NUnit.Framework

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

Body публичное свойство

public string Body
Результат string

Created публичное свойство

public DateTime,System Created
Результат System.DateTime

Header публичное свойство

public SIPHeader,SIPSorcery.SIP Header
Результат SIPHeader

LocalSIPEndPoint публичное свойство

public SIPEndPoint,SIPSorcery.SIP LocalSIPEndPoint
Результат SIPEndPoint

ReasonPhrase публичное свойство

public string ReasonPhrase
Результат string

RemoteSIPEndPoint публичное свойство

public SIPEndPoint,SIPSorcery.SIP RemoteSIPEndPoint
Результат SIPEndPoint

SIPVersion публичное свойство

public string SIPVersion
Результат string

Status публичное свойство

public SIPResponseStatusCodesEnum Status
Результат SIPResponseStatusCodesEnum

StatusCode публичное свойство

public int StatusCode
Результат int