ESock::TCFFactory Class Reference

class ESock::TCFFactory

Message interface for factories Nodes wishing to implement this interface must implment all message protocols in the interface.

Private Member Enumerations
enumanonymous { ECFFindOrCreatePeer = 1, ECFPeerFoundOrCreated = 2, ECFFactoryContainerJoinRequest = 3 }
Public Member Type Definitions
typedef TMessageSigNodeIdClientTypeUid< ECFFactoryContainerJoinRequest, TCFFactory::ERealmId > TFactoryContainerJoinRequest
typedef ESock::TMessageSigPlayerRoleUidFactoryQuery< ECFFindOrCreatePeer, TCFFactory::ERealmId > TFindOrCreatePeer
typedef Messages::TMessageSigNodeIdNumberDefault< ECFPeerFoundOrCreated, TCFFactory::ERealmId > TPeerFoundOrCreated

Member Enumerations Documentation

Enum anonymous

Enumerators

ECFFindOrCreatePeer = 1
ECFPeerFoundOrCreated = 2
ECFFactoryContainerJoinRequest = 3

Member Type Definitions Documentation

Typedef TFactoryContainerJoinRequest

typedef TMessageSigNodeIdClientTypeUid< ECFFactoryContainerJoinRequest, TCFFactory::ERealmId >TFactoryContainerJoinRequest

Request akin to TEPeer::TJoin but for use only by factory containers to establish a join with a central object broker Also carries the uid of the factory container joining so that the broker can distinguish between its clients.

  • Type: Request

  • Fallible: No

Typedef TFindOrCreatePeer

typedef ESock::TMessageSigPlayerRoleUidFactoryQuery< ECFFindOrCreatePeer, TCFFactory::ERealmId >TFindOrCreatePeer

Sent to a factory container to request a factory object. The factory object is to be preexisting or newly created depending on the request argument and factory logic.

  • Type: Request for TFoundOrCreated.

  • Fallible: Yes

Typedef TPeerFoundOrCreated

typedef Messages::TMessageSigNodeIdNumberDefault< ECFPeerFoundOrCreated, TCFFactory::ERealmId >TPeerFoundOrCreated

A node has been found or created that matchs the criteria specified in TFindOrCreateFactoryObject or TFindOrCreateTM

  • Type: Response to TFindOrCreateFactoryObject/TFindOrCreateTM