ESock::TCFSelector Class Reference

class ESock::TCFSelector

Message interface for selector nodes Nodes wishing to implement this interface must implement all message protocols in the interface.

Private Member Enumerations
enum anonymous { ECFSimpleSelect  = 1, ECFSelect  = 2, ECFSelectComplete  = 3 }
Public Member Type Definitions
typedef TMessageSigConnPrefList < ECFSelect, TCFSelector::ERealmId > TSelect
typedef TMessageSigSelectComplete < ECFSelectComplete, TCFSelector::ERealmId > TSelectComplete
typedef TMessageSigSelectionPrefs < ECFSimpleSelect, TCFSelector::ERealmId > TSimpleSelect

Member Enumerations Documentation

Enum anonymous

Enumerators

ECFSimpleSelect = 1
ECFSelect = 2
ECFSelectComplete = 3

Member Type Definitions Documentation

Typedef TSelect

typedef TMessageSigConnPrefList < ECFSelect, TCFSelector::ERealmId > TSelect

Selection request sent to Tier Managers (usually by MCPRs or CSR). Carries an RConnPrefList instance, the objects in the list are used during the construction of the stack. Multiple nodes may be returned by the selection activity. This request is completed only after TSelectComplete with a NULL address has been received by the requestor.

  • Type: Request

  • Fallible: Yes

Typedef TSelectComplete

typedef TMessageSigSelectComplete < ECFSelectComplete, TCFSelector::ERealmId > TSelectComplete

Response to TSelect or TSelectNextLayer. Carries address to selected providers (MCPRs). A selection request is completed only after TSelectComplete with a NULL address has been received by the requestor. This response also carries some additional information about the selected provider.

  • Type: Response to TSimpleSelect or TSelect

  • Fallible: No

Typedef TSimpleSelect

typedef TMessageSigSelectionPrefs < ECFSimpleSelect, TCFSelector::ERealmId > TSimpleSelect

Selection request sent to TierManagers (usually by MCPRs). Can only carry one type of selection preferences at a time, and for this reason, using TSelect is preferred. It should be noted however, that multiple nodes may be returned in exchange for this single preference, for example in the case of SNAP preferences.

This request is completed only after TSelectComplete with a NULL address has been received by the requestor.

  • Type: Request

  • Fallible: Yes