C# Class SIPSorcery.SIP.SIPURI

显示文件 Open project: TilmannBach/sipsorcery-fork Class Usage Examples

Public Methods

Method Description
AreEqual ( SIPURI uri1, SIPURI uri2 ) : bool
CopyOf ( ) : SIPURI
Equals ( object obj ) : bool
GetHashCode ( ) : int
ParseSIPURI ( string uri ) : SIPURI
ParseSIPURIRelaxed ( string partialURI ) : SIPURI
SIPURI ( SIPSchemesEnum scheme, SIPEndPoint sipEndPoint ) : System
SIPURI ( string user, string host, string paramsAndHeaders ) : System
SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme ) : System
SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme, SIPProtocolsEnum protocol ) : System
ToAOR ( ) : string

Returns an address of record for the SIP URI which is a string in the format user@host.

ToParameterlessString ( ) : string

Returns a string representation of the URI with any parameter and headers ommitted except for the transport parameter. The string returned by this function is used amonst other things to match Route headers set by this SIP agent.

ToSIPEndPoint ( ) : SIPEndPoint
ToString ( ) : string
TryParse ( string uri ) : bool
operator ( ) : bool

Private Methods

Method Description
ParseParamsAndHeaders ( string paramsAndHeaders ) : void
SIPURI ( ) : System

Method Details

AreEqual() public static method

public static AreEqual ( SIPURI uri1, SIPURI uri2 ) : bool
uri1 SIPURI
uri2 SIPURI
return bool

CopyOf() public method

public CopyOf ( ) : SIPURI
return SIPURI

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ParseSIPURI() public static method

public static ParseSIPURI ( string uri ) : SIPURI
uri string
return SIPURI

ParseSIPURIRelaxed() public static method

public static ParseSIPURIRelaxed ( string partialURI ) : SIPURI
partialURI string
return SIPURI

SIPURI() public method

public SIPURI ( SIPSchemesEnum scheme, SIPEndPoint sipEndPoint ) : System
scheme SIPSchemesEnum
sipEndPoint SIPEndPoint
return System

SIPURI() public method

public SIPURI ( string user, string host, string paramsAndHeaders ) : System
user string
host string
paramsAndHeaders string
return System

SIPURI() public method

public SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme ) : System
user string
host string
paramsAndHeaders string
scheme SIPSchemesEnum
return System

SIPURI() public method

public SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme, SIPProtocolsEnum protocol ) : System
user string
host string
paramsAndHeaders string
scheme SIPSchemesEnum
protocol SIPProtocolsEnum
return System

ToAOR() public method

Returns an address of record for the SIP URI which is a string in the format user@host.
public ToAOR ( ) : string
return string

ToParameterlessString() public method

Returns a string representation of the URI with any parameter and headers ommitted except for the transport parameter. The string returned by this function is used amonst other things to match Route headers set by this SIP agent.
public ToParameterlessString ( ) : string
return string

ToSIPEndPoint() public method

public ToSIPEndPoint ( ) : SIPEndPoint
return SIPEndPoint

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

public static TryParse ( string uri ) : bool
uri string
return bool

operator() public static method

public static operator ( ) : bool
return bool