pianod2
multisource multiuser scriptable networked music player
Functions
responseline.cpp File Reference

Send response messages over the line-oriented protocol. More...

#include <config.h>
#include <cstdarg>
#include <cassert>
#include <sstream>
#include <iomanip>
#include <football/fb_public.h>
#include "logging.h"
#include "fundamentals.h"
#include "musictypes.h"
#include "response.h"
#include "connection.h"
#include "utility.h"
#include "user.h"
Include dependency graph for responseline.cpp:

Functions

static LogType loglevel_of (RESPONSE_CODE response)
 
PianodConnectionoperator<< (PianodConnection &there, const Response &response)
 Use << as output operator for responses. More...
 

Detailed Description

Send response messages over the line-oriented protocol.

Function Documentation

◆ loglevel_of()

static LogType loglevel_of ( RESPONSE_CODE  response)
inlinestatic
Here is the caller graph for this function:

◆ operator<<()

PianodConnection& operator<< ( PianodConnection there,
const Response response 
)

Use << as output operator for responses.

Parameters
thereThe place to send the response.
responseThe response or data to send.
Note
This needs to be out-of-line as the header file doesn't know PianodConnection can be used as a Football::Thingie.
Here is the call graph for this function: