pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Private Attributes | List of all members
Pandora::RequestCreateStation Class Reference

Pandora message: create a station. More...

#include <pandoramessages.h>

Inheritance diagram for Pandora::RequestCreateStation:
Inheritance graph
[legend]
Collaboration diagram for Pandora::RequestCreateStation:
Collaboration graph
[legend]

Public Member Functions

 RequestCreateStation (Source *const src, MusicThingie::Type type, const std::string &music_id)
 
virtual void extractResponse (const Parsnip::Data &message) override
 Decode a response message, already converted to Parsnip Data, into some internal representation. More...
 
StationgetStation () const
 
- Public Member Functions inherited from Pandora::Request
const std::string & url () const
 
bool debug () const
 
bool tlsEncrypt () const
 
bool blowfishEncrypt () const
 
Parsnip::DataretrieveRequestMessage ()
 Retrieve the Parsnip Data object with the request message. More...
 

Private Attributes

Retainer< Station * > new_station
 

Additional Inherited Members

- Public Types inherited from Pandora::Request
using Option = RequestOption
 
- Protected Member Functions inherited from Pandora::Request
 Request (Source *const src, const char *ep, Option options=Option::NONE)
 RPC method name or REST API endpoint. More...
 
- Protected Attributes inherited from Pandora::Request
Source *const source
 
Parsnip::Data request_message
 

Detailed Description

Pandora message: create a station.

Constructor & Destructor Documentation

◆ RequestCreateStation()

Pandora::RequestCreateStation::RequestCreateStation ( Source *const  src,
MusicThingie::Type  type,
const std::string &  music_id 
)
Here is the call graph for this function:

Member Function Documentation

◆ extractResponse()

void Pandora::RequestCreateStation::extractResponse ( const Parsnip::Data message)
overridevirtual

Decode a response message, already converted to Parsnip Data, into some internal representation.

Parameters
messageThe message to be decoded.

Implements Pandora::Request.

◆ getStation()

Station* Pandora::RequestCreateStation::getStation ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ new_station

Retainer<Station *> Pandora::RequestCreateStation::new_station
private

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