C# Class SIPSorcery.SIP.SIPURI

Afficher le fichier Open project: TilmannBach/sipsorcery-fork Class Usage Examples

Méthodes publiques

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

Méthode Description
ParseParamsAndHeaders ( string paramsAndHeaders ) : void
SIPURI ( ) : System

Method Details

AreEqual() public static méthode

public static AreEqual ( SIPURI uri1, SIPURI uri2 ) : bool
uri1 SIPURI
uri2 SIPURI
Résultat bool

CopyOf() public méthode

public CopyOf ( ) : SIPURI
Résultat SIPURI

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ParseSIPURI() public static méthode

public static ParseSIPURI ( string uri ) : SIPURI
uri string
Résultat SIPURI

ParseSIPURIRelaxed() public static méthode

public static ParseSIPURIRelaxed ( string partialURI ) : SIPURI
partialURI string
Résultat SIPURI

SIPURI() public méthode

public SIPURI ( SIPSchemesEnum scheme, SIPEndPoint sipEndPoint ) : System
scheme SIPSchemesEnum
sipEndPoint SIPEndPoint
Résultat System

SIPURI() public méthode

public SIPURI ( string user, string host, string paramsAndHeaders ) : System
user string
host string
paramsAndHeaders string
Résultat System

SIPURI() public méthode

public SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme ) : System
user string
host string
paramsAndHeaders string
scheme SIPSchemesEnum
Résultat System

SIPURI() public méthode

public SIPURI ( string user, string host, string paramsAndHeaders, SIPSchemesEnum scheme, SIPProtocolsEnum protocol ) : System
user string
host string
paramsAndHeaders string
scheme SIPSchemesEnum
protocol SIPProtocolsEnum
Résultat System

ToAOR() public méthode

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

ToParameterlessString() public méthode

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
Résultat string

ToSIPEndPoint() public méthode

public ToSIPEndPoint ( ) : SIPEndPoint
Résultat SIPEndPoint

ToString() public méthode

public ToString ( ) : string
Résultat string

TryParse() public static méthode

public static TryParse ( string uri ) : bool
uri string
Résultat bool

operator() public static méthode

public static operator ( ) : bool
Résultat bool