JackTrip
Signals | Public Member Functions | Public Attributes | 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)
 
void setConnectDefaultAudioPorts (bool connectDefaultAudioPorts)
 
void setHubPatch (unsigned int p)
 
unsigned int getHubPatch ()
 
void setUnderRunMode (JackTrip::underrunModeT UnderRunMode)
 
void setBufferQueueLength (int BufferQueueLength)
 

Public Attributes

unsigned int mHubPatch
 

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::UdpMasterListener ( int  server_port = gServerUdpPort)

◆ ~UdpMasterListener()

UdpMasterListener::~UdpMasterListener ( )
virtual

Member Function Documentation

◆ ClientAddressSet

void UdpMasterListener::ClientAddressSet ( )
signal

◆ getHubPatch()

unsigned int UdpMasterListener::getHubPatch ( )
inline

◆ Listening

void UdpMasterListener::Listening ( )
signal

◆ releaseThread()

int UdpMasterListener::releaseThread ( int  id)
Todo:
Check if we really need to return an argument here

◆ run()

void UdpMasterListener::run ( )

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

Todo:
temp default to 1 channel

◆ setBufferQueueLength()

void UdpMasterListener::setBufferQueueLength ( int  BufferQueueLength)
inline

◆ setConnectDefaultAudioPorts()

void UdpMasterListener::setConnectDefaultAudioPorts ( bool  connectDefaultAudioPorts)
inline

◆ setHubPatch()

void UdpMasterListener::setHubPatch ( unsigned int  p)
inline

◆ setUnderRunMode()

void UdpMasterListener::setUnderRunMode ( JackTrip::underrunModeT  UnderRunMode)
inline

◆ signalRemoveThread

void UdpMasterListener::signalRemoveThread ( int  id)
signal

◆ stop()

void UdpMasterListener::stop ( )
inline

Stops the execution of the Thread.

Member Data Documentation

◆ mHubPatch

unsigned int UdpMasterListener::mHubPatch

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