Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <Authority8.h>
Link against: inetprotutil.lib

Class TAuthorityParser8

class TAuthorityParser8 : public TAuthorityC8;

Description

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]

Derivation

Members

Defined in TAuthorityParser8:

Inherited from TAuthorityC8:


Construction and destruction


TAuthorityParser8()

IMPORT_C TAuthorityParser8();

Description

Constructor.

[Top]


Member functions


Parse(const TDesC8 &)

IMPORT_C TInt Parse(const TDesC8 &aAuthority);

Description

Parses the descriptor aAuthority into authority components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC8 &aAuthority

A reference to a descriptor pointer to be parsed.

Return value

TInt

KErrNone if the descriptor has been parsed into its authority components.