JBus
JoyBus communication server
jbus::Listener Class Reference

#include <Listener.hpp>

Public Member Functions

void start ()
 Start listener thread. More...
 
void stop ()
 Request stop of listener thread and block until joined. More...
 
std::unique_ptr< Endpointaccept ()
 Pop jbus::Endpoint off Listener's queue. More...
 
 ~Listener ()
 

Detailed Description

Server interface for accepting incoming connections from GBA emulator instances.

Constructor & Destructor Documentation

jbus::Listener::~Listener ( )

Member Function Documentation

std::unique_ptr<Endpoint> jbus::Listener::accept ( )

Pop jbus::Endpoint off Listener's queue.

Returns
Endpoint instance, ready to issue commands.
void jbus::Listener::start ( )

Start listener thread.

void jbus::Listener::stop ( )

Request stop of listener thread and block until joined.


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