class ConnectRequest
Defined at line 346 of file gen/third_party/openweave-core/src/include/Weave/Profiles/service-directory/ServiceDirectory.h
This class represents a single transaction managed by the service manager.
Public Members
uint64_t mServiceEp
WeaveAuthMode mAuthMode
void * mAppState
WeaveConnection * mConnection
uint32_t mConnectTimeoutMsecs
InterfaceId mConnIntf
StatusHandler mStatusHandler
WeaveConnection::ConnectionCompleteFunct mConnectionCompleteHandler
Public Methods
WEAVE_ERROR init (WeaveServiceManager * aManager, const uint64_t & aServiceEp, WeaveAuthMode aAuthMode, void * aAppState, StatusHandler aStatusHandler, WeaveConnection::ConnectionCompleteFunct aCompleteHandler, const uint32_t aConnectTimeoutMsecs, const InterfaceId aConnIntf)
void free ()
void finalize ()
bool isAllocatedTo (const uint64_t & aServiceEp, void * aAppState)
This function tests if this connect request is currently in use to
connect to a particular service endpoint for a particualr
application entity.
Parameters
aServiceEp [in] A service endpoint ID to be compared with what this connect request holds.
aAppState [in] A pointer to application state, which is used to compare with what this connect request holds.
Returns
true if the test passes, false otherwise.
Defined at line 376 of file gen/third_party/openweave-core/src/include/Weave/Profiles/service-directory/ServiceDirectory.h
bool isFree ()
This function tests if the connect request is not currently
allocated.
Returns
true if the test passes, false otherwise.
Defined at line 387 of file gen/third_party/openweave-core/src/include/Weave/Profiles/service-directory/ServiceDirectory.h
void onConnectionComplete (WEAVE_ERROR aError)