Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
[legend]

Public Attributes

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

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: