#include <ShoutCast.h>
Inheritance diagram for ShoutCast:
Definition at line 59 of file ShoutCast.h.
Public Member Functions | |
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 ) | |
Constructor. | |
ShoutCast (const ShoutCast &cs) throw ( Exception ) | |
Copy constructor. | |
virtual | ~ShoutCast (void) throw ( Exception ) |
Destructor. | |
virtual ShoutCast & | operator= (const ShoutCast &cs) throw ( Exception ) |
Assignment operator. | |
const char * | getIrc (void) const throw () |
Get the IRC info string for the stream. | |
const char * | getAim (void) const throw () |
Get the AIM info string for the stream. | |
const char * | getIcq (void) const throw () |
Get the ICQ info string for the stream. | |
Protected Member Functions | |
ShoutCast (void) throw ( Exception ) | |
Default constructor. | |
virtual bool | sendLogin (void) throw ( Exception ) |
Log in to the server using the socket avialable. |
|
Default constructor. Always throws an Exception.
Definition at line 109 of file ShoutCast.h. |
|
Constructor.
Definition at line 146 of file ShoutCast.h. |
|
Copy constructor.
Definition at line 178 of file ShoutCast.h. |
|
Destructor.
Definition at line 190 of file ShoutCast.h. |
|
Get the AIM info string for the stream.
Definition at line 230 of file ShoutCast.h. Referenced by sendLogin(). |
|
Get the ICQ info string for the stream.
Definition at line 241 of file ShoutCast.h. Referenced by sendLogin(). |
|
Get the IRC info string for the stream.
Definition at line 219 of file ShoutCast.h. Referenced by sendLogin(). |
|
Assignment operator.
Definition at line 203 of file ShoutCast.h. References CastSink::operator=(). |
|
Log in to the server using the socket avialable.
Implements CastSink. Definition at line 121 of file ShoutCast.cpp. References Source::canRead(), Sink::flush(), getAim(), CastSink::getBitRate(), CastSink::getGenre(), getIcq(), getIrc(), CastSink::getIsPublic(), CastSink::getName(), CastSink::getPassword(), CastSink::getSink(), CastSink::getSocket(), CastSink::getUrl(), Sink::isOpen(), Source::isOpen(), Source::read(), STRBUF_SIZE, and Sink::write(). |