C++ Server-Side SDK
LaunchDarkly SDK
Typedefs | Functions
listener_connection.h File Reference
#include <launchdarkly/bindings/c/export.h>
Include dependency graph for listener_connection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _LDListenerConnection * LDListenerConnection
 

Functions

 LDListenerConnection_Disconnect (LDListenerConnection connection)
 
 LDListenerConnection_Free (LDListenerConnection connection)
 

Typedef Documentation

◆ LDListenerConnection

typedef struct _LDListenerConnection* LDListenerConnection

Handle that represents a listener connection.

To stop unregister a listener call LDListenerConnection_Disconnect. To free a connection listener call LDListenerConnection_Free.

Freeing an LDListenerConnection does not disconnect the connection. If it is deleted, without being disconnected, then the listener will remain active until the associated SDK is freed.

Function Documentation

◆ LDListenerConnection_Disconnect()

LDListenerConnection_Disconnect ( LDListenerConnection  connection)

Disconnect a listener.

Parameters
connectionThe connection for the listener to disconnect. Must not be NULL.

◆ LDListenerConnection_Free()

LDListenerConnection_Free ( LDListenerConnection  connection)

Free a listener connection.

Parameters
connectionThe LDListenerConnection to free.