Open Lighting Architecture: ola::rpc::RpcServer::Options Struct Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Attributes | List of all members
ola::rpc::RpcServer::Options Struct Reference

## Detailed Description

Options for the RpcServer.

## Public Attributes
uint16_t | listen_port
| The TCP port to listen on.
class ExportMap * | export_map
| The export map to use for stats.
ola::network::TCPAcceptingSocket * | listen_socket
| The listening TCP socket to wait for clients on.

## Member Data Documentation

## ◆ listen_port

uint16_t ola::rpc::RpcServer::Options::listen_port

The TCP port to listen on.

If listen_socket is passed, this option is ignored.

## ◆ listen_socket

ola::network::TCPAcceptingSocket* ola::rpc::RpcServer::Options::listen_socket

The listening TCP socket to wait for clients on.

The socket should be in listening mode, i.e. have had TCPAcceptingSocket::Listen() called.

Ownership of the socket is transferred to the RpcServer. This overrides the listen_port option.

The documentation for this struct was generated from the following file:

- common/rpc/RpcServer.h