clientconnection_types.h

// SPDX-License-Identifier: MIT

struct elosClientConnection
[source]

Data structure of a ClientConnection

safuFlags_t flags
[source]

State bits of the component (e.g. initialized, active, e.t.c.)

int fd
[source]

The socket used for communication

int syncFd
[source]

eventfd used for synchronization with the worker thread

int triggerFd
[source]

eventfd used for waking the worker thread (e.g. for a controlled shutdown)

void *clientConnectionContext
[source]

Pointer to data structure that holds plugin specific data

pthread_t thread
[source]

Worker thread used by pthread_* functions

elosClientConnectionSharedData_t *sharedData
[source]

See struct defintion of elosClientConnectionSharedData_t

elosClientConnectionData_t data
[source]

worker thread local data

int isTrusted
[source]

‘true’ if the connection is trusted

int blacklist
[source]

blacklist filters

elosClientConnectionInitializeConnection_t initializeConnection
[source]

A pointer to a function that allocates plugin specific data structures

elosClientConnectionCloseConnection_t closeConnection
[source]

A pointer to a function that closes the client connection

elosClientConnectionDeleteConnection_t deleteConnection
[source]

A pointer to a function that deletes allocated structures

struct elosClientConnectionData
[source]

Data structures used exclusively by the worker thread

struct elosPublisher *publisher
[source]

exclusiv for the connection

struct elosSubscriber *subscriber
[source]

exclusiv for the connection

struct elosClientConnectionData_t
[source]

Data structures used exclusively by the worker thread

struct elosPublisher *publisher
[source]

exclusiv for the connection

struct elosSubscriber *subscriber
[source]

exclusiv for the connection

struct elosClientConnectionSharedData
[source]

Data structures shared between all connections of a ConnectionManager

sem_t connectionSemaphore
[source]

Used for waiting until a connection is available

elosPlugin_t *plugin
[source]

reference to the plugin instance

struct elosClientConnectionSharedData_t
[source]

Data structures shared between all connections of a ConnectionManager

sem_t connectionSemaphore
[source]

Used for waiting until a connection is available

elosPlugin_t *plugin
[source]

reference to the plugin instance

struct elosClientConnection_t
[source]

Data structure of a ClientConnection

safuFlags_t flags
[source]

State bits of the component (e.g. initialized, active, e.t.c.)

int fd
[source]

The socket used for communication

int syncFd
[source]

eventfd used for synchronization with the worker thread

int triggerFd
[source]

eventfd used for waking the worker thread (e.g. for a controlled shutdown)

void *clientConnectionContext
[source]

Pointer to data structure that holds plugin specific data

pthread_t thread
[source]

Worker thread used by pthread_* functions

elosClientConnectionSharedData_t *sharedData
[source]

See struct defintion of elosClientConnectionSharedData_t

elosClientConnectionData_t data
[source]

worker thread local data

int isTrusted
[source]

‘true’ if the connection is trusted

int blacklist
[source]

blacklist filters

elosClientConnectionInitializeConnection_t initializeConnection
[source]

A pointer to a function that allocates plugin specific data structures

elosClientConnectionCloseConnection_t closeConnection
[source]

A pointer to a function that closes the client connection

elosClientConnectionDeleteConnection_t deleteConnection
[source]

A pointer to a function that deletes allocated structures