JBus
JoyBus communication server
|
#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< Endpoint > | accept () |
Pop jbus::Endpoint off Listener's queue. More... | |
~Listener () | |
Server interface for accepting incoming connections from GBA emulator instances.
jbus::Listener::~Listener | ( | ) |
std::unique_ptr<Endpoint> jbus::Listener::accept | ( | ) |
Pop jbus::Endpoint off Listener's queue.
void jbus::Listener::start | ( | ) |
Start listener thread.
void jbus::Listener::stop | ( | ) |
Request stop of listener thread and block until joined.