C# 클래스 SIPLib.SIP.SIPURI

This class is used to represent a SIPURI (“Firstname Lastname” <sip:[email protected]> etc)
파일 보기 프로젝트 열기: richardspiers/C-Sharp-Sip-Lib 1 사용 예제들

공개 메소드들

메소드 설명
Compare ( SIPURI other ) : bool

Helper function to compares this SIPURI to another specified SIPURI.

Dup ( ) : SIPURI

Clones this SIPURI and returns a new SIPURI

Hash ( ) : string

Returns a md5 hash based on the lowercased string contents of this SIPURI.

HostPort ( ) : string

Helper function returning a string combining the SIPURI's host and port.

SIPURI ( ) : System

Initializes an empty instance of the T:SIPLib.SIP.SIPURI class.

SIPURI ( string uri ) : System

Initializes a new instance of the T:SIPLib.SIP.SIPURI class.

SIPURI ( string uri, bool useRegex ) : System
ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
GetMd5Hash ( MD5 md5Hash, string input ) : string

Helper function used to get the MD5 hash of the inputed string using the MD5 object passed in.

Init ( ) : void

Initializes the SIPURI object

nonRegExpInit ( string uri ) : void
regExInit ( string uri ) : void

메소드 상세

Compare() 공개 메소드

Helper function to compares this SIPURI to another specified SIPURI.
public Compare ( SIPURI other ) : bool
other SIPURI The other.
리턴 bool

Dup() 공개 메소드

Clones this SIPURI and returns a new SIPURI
public Dup ( ) : SIPURI
리턴 SIPURI

Hash() 공개 메소드

Returns a md5 hash based on the lowercased string contents of this SIPURI.
public Hash ( ) : string
리턴 string

HostPort() 공개 메소드

Helper function returning a string combining the SIPURI's host and port.
public HostPort ( ) : string
리턴 string

SIPURI() 공개 메소드

Initializes an empty instance of the T:SIPLib.SIP.SIPURI class.
public SIPURI ( ) : System
리턴 System

SIPURI() 공개 메소드

Initializes a new instance of the T:SIPLib.SIP.SIPURI class.
public SIPURI ( string uri ) : System
uri string A string representing a SIP URI.
리턴 System

SIPURI() 공개 메소드

public SIPURI ( string uri, bool useRegex ) : System
uri string
useRegex bool
리턴 System

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string