#include <authority8.h>
class TAuthorityParser8 : public TAuthorityC8 |
Public Member Functions | |
---|---|
TAuthorityParser8() | |
IMPORT_C TInt | Parse(const TDesC8 &) |
Inherited Attributes | |
---|---|
TAuthorityC8::iAuthorityDes | |
TAuthorityC8::iComponent |
Dependencies : TAuthorityC8 Comments : Provides functionality to parse a descriptor into the components of an authority as defined in RFC2396. There are 3 components; userinfo, host and port.
This uses 8-bit descriptors.
Format of an authority is; [userinfo@]host[:port]
The descriptor that is parsed by an object of this class will be referenced by that object. If the original descriptor is no longer in scope there will be undefined behaviour.
Parses the descriptor aAuthority into authority components.
Parameter | Description |
---|---|
aAuthority | A reference to a descriptor pointer to be parsed. |
Returns: KErrNone if the descriptor has been parsed into its authority components.