JackTrip
Signals | Public Member Functions | List of all members
UdpMasterListener Class Reference

Master UDP listener on the Server. More...

#include <UdpMasterListener.h>

Inheritance diagram for UdpMasterListener:
Inheritance graph
[legend]
Collaboration diagram for UdpMasterListener:
Collaboration graph
[legend]

Signals

void Listening ()
 
void ClientAddressSet ()
 
void signalRemoveThread (int id)
 

Public Member Functions

 UdpMasterListener (int server_port=gServerUdpPort)
 
virtual ~UdpMasterListener ()
 
void run ()
 Implements the Thread Loop. To start the thread, call start() ( DO NOT CALL run() ) More...
 
void stop ()
 Stops the execution of the Thread. More...
 
int releaseThread (int id)
 

Detailed Description

Master UDP listener on the Server.

This creates a server that will listen on the well know port (the server port) and will spawn JackTrip threads into the Thread pool. Clients request a connection.

Constructor & Destructor Documentation

UdpMasterListener::UdpMasterListener ( int  server_port = gServerUdpPort)
UdpMasterListener::~UdpMasterListener ( )
virtual

Member Function Documentation

void UdpMasterListener::ClientAddressSet ( )
signal
void UdpMasterListener::Listening ( )
signal
int UdpMasterListener::releaseThread ( int  id)
Todo:
Check if we really need to return an argument here
void UdpMasterListener::run ( )

Implements the Thread Loop. To start the thread, call start() ( DO NOT CALL run() )

Todo:
temp default to 1 channel
void UdpMasterListener::signalRemoveThread ( int  id)
signal
void UdpMasterListener::stop ( )
inline

Stops the execution of the Thread.


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