TConnectionInfoBase Class Reference

class TConnectionInfoBase

Base class for the configuration info classes. It is outside the scope of all the Packet data classes.

To allow future connection information structures (e.g. TConnectionInfoV2, TConnectionInfoV3, etc.) to be added and as a result information carried by the structure can be increased. All information structures are derived from this thin base class which provides just one function, ExtensionId(). This function returns the protected member variable, iExtensionId. A new structure would define an associated new constant to be set in iExtensionId on construction, which would then be queried by the TSY prior to unpackaging the structure.

RPacketContext::TConnectionInfoV1

Public Member Functions
TInt ExtensionId()
Public Member Enumerations
enumanonymous { KConnectionInfoV1 = 0x01 }
Public Attributes
TUint32 iValid
Protected Attributes
TInt iExtensionId

Member Functions Documentation

ExtensionId()

TInt ExtensionId()[inline]

Return the type of class.

Member Enumerations Documentation

Enum anonymous

Flags identifying the different connection information structures

Enumerators

KConnectionInfoV1 = 0x01

Connection information version 1.

Member Data Documentation

TInt iExtensionId

TInt iExtensionId[protected]

Defines the type of class.

TUint32 iValid

TUint32 iValid

A bit-wise sum of TConnectionInfoFlags indicating which of the optional fields contain valid data.