CSIPHostPort Class Reference
| class CSIPHostPort : public CBase |
Class provides functions for setting and getting host and port in hostport structure (host[":"port]) with syntax checking
sipcodec.lib
Constructor & Destructor Documentation
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
ConstructL(const CSIPHostPort &)
DecodeL(const TDesC8 &)
Parameters
| const TDesC8 & aValue | BNF: host[":"port] |
DeletePort()
| IMPORT_C TInt | DeletePort | ( | ) | |
Deletes the port part
- Pre-condition
- HasPort() == ETrue
HasPort()
| IMPORT_C TBool | HasPort | ( | ) | const |
Checks if port is present
- Pre-condition
- HasHost() == ETrue
Host()
| IMPORT_C const TDesC8 & | Host | ( | ) | const |
HostType()
| IMPORT_C TType | HostType | ( | ) | const |
Gets the type of the host
NewL(const CSIPHostPort &)
NewLC(const CSIPHostPort &)
ParsePortL(const TDesC8 &)
|
TUint
| ParsePortL | ( | const TDesC8 & | aValue | ) | [private, static] |
Port()
| IMPORT_C TUint | Port | ( | ) | const |
SetHostL(const TDesC8 &)
| IMPORT_C void | SetHostL | ( | const TDesC8 & | aHost | ) | |
Parameters
| const TDesC8 & aHost | host (host name / IPv4 / IPv6) |
SetPort(TUint)
| IMPORT_C void | SetPort | ( | TUint | aPort | ) | |
Parameters
| TUint aPort | the port to set |
operator==(const CSIPHostPort &)
Member Enumerations Documentation
Enum TType
Enumerators
| ESIPNoHost = 0 | |
| ESIPIpv4 = 1 | |
| ESIPIpv6 = 2 | |
| ESIPHostName = 3 | |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.