ESock::TAvailabilityStatus Class Reference

class ESock::TAvailabilityStatus

Container for availability status. Used by availability plugins to pass availability information into the mesh machine.

Public Member Functions
TAvailabilityStatus()
TAvailabilityStatus(TInt)
TBool IsKnown()
TInt Score()
voidSetScore(TInt)
voidSetUnknown()
Public Member Enumerations
enumanonymous { EUnknownAvailabilityScore = -1, EMinAvailabilityScore = 0, EMaxAvailabilityScore = 100 }
Private Attributes
TInt iScore

Constructor & Destructor Documentation

TAvailabilityStatus()

TAvailabilityStatus()[inline]

TAvailabilityStatus(TInt)

TAvailabilityStatus(TIntaScore)[inline]

Parameters

TInt aScore

Member Functions Documentation

IsKnown()

TBool IsKnown()const [inline]

Score()

TInt Score()const [inline]

SetScore(TInt)

voidSetScore(TIntaScore)[inline]

Parameters

TInt aScorethe availability score. Must be >= EMinAvailabilityScore and <= EMinAvailabilityScore.

SetUnknown()

voidSetUnknown()[inline]

Set the availability status to unknown

Member Enumerations Documentation

Enum anonymous

Enumerators

EUnknownAvailabilityScore = -1
EMinAvailabilityScore = 0
EMaxAvailabilityScore = 100

Member Data Documentation

TInt iScore

TInt iScore[private]