#include <IceCast.h>
Inheritance diagram for IceCast:
Definition at line 59 of file IceCast.h.
Public Member Functions | |
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 ) | |
Constructor. | |
IceCast (const IceCast &cs) throw ( Exception ) | |
Copy constructor. | |
virtual | ~IceCast (void) throw ( Exception ) |
Destructor. | |
virtual IceCast & | operator= (const IceCast &cs) throw ( Exception ) |
Assignment operator. | |
const char * | getMountPoint (void) const throw () |
Get the mount point of the stream on the server. | |
const char * | getRemoteDumpFile (void) const throw () |
Get the remote dump file if any. | |
const char * | getDescription (void) const throw () |
Get the description of the stream. | |
Protected Member Functions | |
IceCast (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.
|
|
Constructor.
|
|
Copy constructor.
Definition at line 178 of file IceCast.h. References Exception::getDescription(). |
|
Destructor.
|
|
Get the description of the stream.
Definition at line 245 of file IceCast.h. Referenced by sendLogin(). |
|
Get the mount point of the stream on the server.
Definition at line 223 of file IceCast.h. Referenced by sendLogin(). |
|
Get the remote dump file if any.
Definition at line 234 of file IceCast.h. Referenced by sendLogin(). |
|
Assignment operator.
Definition at line 205 of file IceCast.h. References CastSink::operator=(). |
|
Log in to the server using the socket avialable.
Implements CastSink. Definition at line 119 of file IceCast.cpp. References Source::canRead(), Sink::flush(), CastSink::getBitRate(), getDescription(), CastSink::getGenre(), CastSink::getIsPublic(), getMountPoint(), CastSink::getName(), CastSink::getPassword(), getRemoteDumpFile(), CastSink::getSink(), CastSink::getSocket(), CastSink::getUrl(), Sink::isOpen(), Source::isOpen(), Source::read(), STRBUF_SIZE, and Sink::write(). |