29#ifndef SODA_IF_SERVER_HDR
30#define SODA_IF_SERVER_HDR
32#include <SoDaRadio/SoDaBase.hxx>
33#include <SoDaRadio/SoDaThread.hxx>
34#include <SoDaRadio/UDSockets.hxx>
SoDa::DatMBox * rx_stream
mailbox producing command stream from user
unsigned int rx_subs
mailbox subscription ID for command stream
IFServer(const std::string &name)
create the plugin thread instance.
void shutDown()
Each thread must implement this method.
void execRepCommand(SoDa::Command *cmd)
A thread may implement any or all of the command execution methods (execRepCommand,...
bool sendBuffer(SoDa::Buf *rxbuf)
send a buffer of complex samples to clients connected to the socket.
double current_rx_center_freq
void subscribeToMailBox(const std::string &mbox_name, SoDa::BaseMBox *mbox_p)
connect to useful mailboxes.
SoDa::CmdMBox * cmd_stream
mailbox producing command stream from user
SoDa::UD::ServerSocket * server_socket
unix domain server socket object.
void run()
This is the method that does the actual work.
unsigned int cmd_subs
mailbox subscription ID for command stream
This is a list of all the commands that can "do something" to one or more components in the SoDa radi...
The Thread baseclass for all SoDa thread objects.
SoDa::MailBox< CommandPtr > CmdMBox
Mailboxes that carry commands only are of type CmdMBox.