Class FelixClientThreadExtension

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class FelixClientThreadExtension : public FelixClientThreadInterface

Subclassed by FelixClientThreadExtension42

Public Types

enum Cmd

Values:

enumerator UNKNOWN
enumerator NOOP
enumerator GET
enumerator SET
enumerator TRIGGER
enumerator ECR_RESET
enum Status

Values:

enumerator OK
enumerator ERROR
enumerator ERROR_NO_SUBSCRIPTION
enumerator ERROR_NO_CONNECTION
enumerator ERROR_NO_REPLY
enumerator ERROR_INVALID_CMD
enumerator ERROR_INVALID_ARGS
enumerator ERROR_INVALID_REGISTER
enumerator ERROR_NOT_AUTHORIZED

Public Functions

inline virtual ~FelixClientThreadExtension()
virtual void init_subscribe(uint64_t fid) = 0
virtual void init_send_data(uint64_t fid) = 0

Function to establish a connection before sending a message.

This function is used to establish a connection before sending data. This function needs to be called before send_data_nb(), as send_data_nb() returns whether the send operaion succeeds or not. The success of this call is acknowledged by the on_connection_established() callback for the particular fid.

Parameters:

fids – The fid for which a connection needs to be established.

Throws:

FelixClientException – if the connection cannot be established.

struct Reply

Public Members

uint64_t ctrl_fid
Status status
uint64_t value
std::string message