Logo Search packages:      
Sourcecode: darkice version File versions

ShoutCast Class Reference

#include <ShoutCast.h>

Inheritance diagram for ShoutCast:

CastSink Sink Reporter Referable

List of all members.


Detailed Description

Class representing output to a ShoutCast server with icy login

Author:
Author
darkeye
Version:
Revision
1.2

Definition at line 59 of file ShoutCast.h.


Public Member Functions

virtual bool canWrite (unsigned int sec, unsigned int usec) throw ( Exception )
virtual void close (void) throw ( Exception )
unsigned int decreaseReferenceCount (void) throw ( Exception )
virtual void flush (void) throw ( Exception )
const char * getAim (void) const throw ()
unsigned int getBitRate (void) const throw ()
unsigned int getBufferDuration (void) const throw ()
const char * getGenre (void) const throw ()
const char * getIcq (void) const throw ()
const char * getIrc (void) const throw ()
bool getIsPublic (void) const throw ()
const char * getName (void) const throw ()
const char * getPassword (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
const char * getUrl (void) const throw ()
unsigned int increaseReferenceCount (void) throw ( Exception )
virtual bool isOpen (void) const throw ()
virtual bool open (void) throw ( Exception )
virtual ShoutCastoperator= (const ShoutCast &cs) throw ( Exception )
 ShoutCast (const ShoutCast &cs) throw ( Exception )
 ShoutCast (TcpSocket *socket, const char *password, unsigned int bitRate, const char *name=0, const char *url=0, const char *genre=0, bool isPublic=false, const char *irc=0, const char *aim=0, const char *icq=0, Sink *streamDump=0, unsigned int bufferDuration=10) throw ( Exception )
virtual unsigned int write (const void *buf, unsigned int len) throw ( Exception )
virtual ~ShoutCast (void) throw ( Exception )

Static Public Member Functions

static std::ostream & getReportOutputStream (void) throw ()
static unsigned int getReportVerbosity (void) throw ()
template<class T, class U, class V, class W>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v, const W w) throw ()
template<class T, class U, class V>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v) throw ()
template<class T, class U>
static void reportEvent (unsigned int verbosity, const T t, const U u) throw ()
template<class T>
static void reportEvent (unsigned int verbosity, const T t) throw ()
static void setReportOutputStream (std::ostream &os) throw ()
static void setReportVerbosity (unsigned int verbosity) throw ()

Protected Member Functions

SinkgetSink (void) const throw ()
TcpSocketgetSocket (void) const throw ()
virtual bool sendLogin (void) throw ( Exception )
 ShoutCast (void) throw ( Exception )

Private Member Functions

void init (const char *irc, const char *aim, const char *icq) throw ( Exception )
void strip (void) throw ( Exception )

Private Attributes

char * aim
char * icq
char * irc

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

Generated by  Doxygen 1.6.0   Back to index