TSEID Class Reference

class TSEID

TSEID class represents an AVDTP SEID as described in the AVDTP v1.0 specification.

Public Member Functions
TSEID()
TSEID(TUint, TBool)
TSEID(TUint)
IMPORT_C TSEIDFromPacketL(TUint8, TBool)
IMPORT_C TBoolIsLocal()
IMPORT_C TBoolIsValid()
IMPORT_C TUintPacketValue()
IMPORT_C voidReset()
IMPORT_C TUintSEID()
IMPORT_C voidSet(TUint)
IMPORT_C TUintValue()
IMPORT_C TSEID_Spare(TUint8)
IMPORT_C TBooloperator!=(TSEID)
IMPORT_C TBooloperator==(TSEID)
Private Attributes
const TUintKInvalidSEID
const TUintKIsLocalBit
TUint iValue

Constructor & Destructor Documentation

TSEID()

IMPORT_CTSEID()

Default constructor using KInvalidSEID as the stream endpoint identifier (SEID) value

TSEID(TUint, TBool)

IMPORT_CTSEID(TUintaSEID,
TBoolaIsLocal
)

Constructor taking a stream endpoint identifier (SEID) value, and whether it refers to a local or remote endpoint

Parameters

TUint aSEID
TBool aIsLocalETrue if refers to a local endpoint, else EFalse

TSEID(TUint)

IMPORT_CTSEID(TUintaValue)[explicit]

Constructor taking a direct stream endpoint identifier (SEID) value

Parameters

TUint aValue

Member Functions Documentation

FromPacketL(TUint8, TBool)

IMPORT_C TSEIDFromPacketL(TUint8aPacketValue,
TBoolaSemanticallyLocal
)[static]
Helper to create a SEID from a packet value. Leaves if invalid
leave
EAvdtpBadACPSEID (converts to -18062) if created SEID is invalid

Parameters

TUint8 aPacketValuethe value in the packet format
TBool aSemanticallyLocal

IsLocal()

IMPORT_C TBoolIsLocal()const

Tests whether the SEID refers to a local endpoint

IsValid()

IMPORT_C TBoolIsValid()const

Checks whether the SEID is allowed by the AVDTP Specification

PacketValue()

IMPORT_C TUintPacketValue()const

Getter for SEID value in packet format

Reset()

IMPORT_C voidReset()

Reset any internal state and values

SEID()

IMPORT_C TUintSEID()const

Getter for the stream endpoint identifier (SEID) value, regardless of whether local or remote

Set(TUint)

IMPORT_C voidSet(TUintaValue)

Set SEID value directly

Parameters

TUint aValuevalue to set

Value()

IMPORT_C TUintValue()const

Getter for INTERNAL stream endpoint identifier (SEID) value - for actual SEID value use SEID() SEID

_Spare(TUint8)

IMPORT_C TSEID_Spare(TUint8aUnused)[static]

Not used

Parameters

TUint8 aUnused

operator!=(TSEID)

IMPORT_C TBooloperator!=(TSEIDaSEID)const

Negative comparison operator

Parameters

TSEID aSEID

operator==(TSEID)

IMPORT_C TBooloperator==(TSEIDaSEID)const

Comparison operator

Parameters

TSEID aSEID

Member Data Documentation

const TUint KInvalidSEID

const TUintKInvalidSEID[private, static]

const TUint KIsLocalBit

const TUintKIsLocalBit[private, static]

TUint iValue

TUint iValue[private]