Logo Search packages:      
Sourcecode: darkice version File versions

IceCast Class Reference

#include <IceCast.h>

Inheritance diagram for IceCast:

CastSink Sink Reporter Referable

List of all members.


Detailed Description

Class representing output to an IceCast server with x-audiocast login

Author:
Author
darkeye
Version:
Revision
1.7

Definition at line 59 of file IceCast.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 )
unsigned int getBitRate (void) const throw ()
unsigned int getBufferDuration (void) const throw ()
const char * getDescription (void) const throw ()
const char * getGenre (void) const throw ()
bool getIsPublic (void) const throw ()
const char * getMountPoint (void) const throw ()
const char * getName (void) const throw ()
const char * getPassword (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
const char * getRemoteDumpFile (void) const throw ()
const char * getUrl (void) const throw ()
 IceCast (const IceCast &cs) throw ( Exception )
 IceCast (TcpSocket *socket, const char *password, const char *mountPoint, unsigned int bitRate, const char *name=0, const char *description=0, const char *url=0, const char *genre=0, bool isPublic=false, const char *remoteDumpFile=0, Sink *streamDump=0, unsigned int bufferDuration=10) throw ( Exception )
unsigned int increaseReferenceCount (void) throw ( Exception )
virtual bool isOpen (void) const throw ()
virtual bool open (void) throw ( Exception )
virtual IceCastoperator= (const IceCast &cs) throw ( Exception )
virtual unsigned int write (const void *buf, unsigned int len) throw ( Exception )
virtual ~IceCast (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 ()
 IceCast (void) throw ( Exception )
virtual bool sendLogin (void) throw ( Exception )

Private Member Functions

void init (const char *mountPoint, const char *description, const char *remoteDumpFile) throw ( Exception )
void strip (void) throw ( Exception )

Private Attributes

char * description
char * mountPoint
char * remoteDumpFile

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

Generated by  Doxygen 1.6.0   Back to index