pianod2
multisource multiuser scriptable networked music player
Classes | Namespaces | Enumerations | Functions
pandoracomm.h File Reference

Pandora communication. More...

#include <config.h>
#include <string>
#include <ctime>
#include <parsnip/parsnip.h>
#include "logging.h"
#include "httpclient.h"
#include "blowfish.h"
#include "pandoramessages.h"
Include dependency graph for pandoracomm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Pandora::UserFeatures
 
class  Pandora::Communication
 Pandora communication class. More...
 

Namespaces

 Pandora
 Pandora source, player and related datatype specializations.
 

Enumerations

enum class  Pandora::Status {
  Pandora::Ok , Pandora::CorruptMessage , Pandora::MessageFormatUnknown , Pandora::AllocationError ,
  Pandora::InternalError , Pandora::CommunicationError , Pandora::TooFrequentErrors , Pandora::BadRequest = 400 ,
  Pandora::Unauthorized = 401 , Pandora::StreamingViolation = 429 , Pandora::BadGateway = 502 , Pandora::PandoraError0 = 999 ,
  Pandora::PandoraReadOnlyMode = 1000 , Pandora::InvalidAuthToken = 1001 , Pandora::InvalidPandoraCredentials = 1002 , Pandora::PandoraSubscriptionExpired = 1003 ,
  Pandora::UserNotAuthorized = 1004 , Pandora::StationLimitReached = 1005 , Pandora::NoSuchStation = 1006 , Pandora::SharedStationNotMutable = 1008 ,
  Pandora::DeviceNotAllowed = 1009 , Pandora::PartnerNotAuthorized = 1010 , Pandora::InvalidUsername = 1011 , Pandora::InvalidPassword = 1012 ,
  Pandora::PlaylistRequestsExceeded = 1039
}
 Communication completion statuses. More...
 

Functions

const std::string Pandora::status_strerror (Status status)
 Return a string corresponding to a Pandora communication status. More...
 

Detailed Description

Pandora communication.