Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
ola::rpc::RpcServer::Options Struct Reference

Detailed Description

Options for the RpcServer.

Collaboration diagram for ola::rpc::RpcServer::Options:
Collaboration graph

Public Attributes

uint16_t listen_port
 The TCP port to listen on. More...
class ExportMapexport_map
 The export map to use for stats.
 The listening TCP socket to wait for clients on. More...

Member Data Documentation

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

The TCP port to listen on.

If listen_socket is passed, this option is ignored.

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: