|
| RecordingPlayback (EventHandler &handler) |
|
| RecordingPlayback (const std::string &server, unsigned port) |
|
bool | Open () |
|
void | Close () |
|
bool | IsOpen () |
|
bool | OpenTransfer (ProgramPtr recording) |
|
void | CloseTransfer () |
|
bool | TransferIsOpen () |
|
void | SetChunk (unsigned size) |
|
int64_t | GetSize () const |
|
int | Read (void *buffer, unsigned n) |
|
int64_t | Seek (int64_t offset, WHENCE_t whence) |
|
int64_t | GetPosition () const |
|
void | HandleBackendMessage (EventMessagePtr msg) |
|
|
int | _read (void *buffer, unsigned n) |
|
int64_t | _seek (int64_t offset, WHENCE_t whence) |
|
| ProtoPlayback (const std::string &server, unsigned port) |
|
void | TransferDone (ProtoTransfer &transfer) |
|
bool | TransferIsOpen (ProtoTransfer &transfer) |
|
int | TransferRequestBlock (ProtoTransfer &transfer, void *buffer, unsigned n) |
|
int64_t | TransferSeek (ProtoTransfer &transfer, int64_t offset, WHENCE_t whence) |
|
| ProtoBase (const std::string &server, unsigned port) |
|
virtual unsigned | GetProtoVersion () const |
|
virtual std::string | GetServer () const |
|
virtual unsigned | GetPort () const |
|
virtual int | GetSocketErrNo () const |
|
virtual int | GetSocket () const |
|
virtual bool | HasHanging () const |
|
virtual void | CleanHanging () |
|
virtual ERROR_t | GetProtoError () const |
|
bool | OpenConnection (int rcvbuf) |
|
void | HangException () |
|
bool | SendCommand (const char *cmd, bool feedback=true) |
|
size_t | GetMessageLength () const |
|
bool | ReadField (std::string &field) |
|
bool | IsMessageOK (const std::string &field) const |
|
size_t | FlushMessage () |
|
bool | RcvMessageLength () |
|
ProgramPtr | RcvProgramInfo () |
|
void | MakeProgramInfo (const Program &program, std::string &msg) |
|
|
EventHandler | m_eventHandler |
|
unsigned | m_eventSubscriberId |
|
ProtoTransferPtr | m_transfer |
|
ProgramPtr | m_recording |
|
volatile bool | m_readAhead |
|
unsigned | m_chunk |
|
struct { |
unsigned pos |
|
unsigned len |
|
unsigned char * data |
|
} | m_buffer |
|
OS::CMutex * | m_mutex |
|
TcpSocket * | m_socket |
|
unsigned | m_protoVersion |
|
std::string | m_server |
|
unsigned | m_port |
|
bool | m_hang |
| Connection hang: while true allow retry.
|
|
bool | m_tainted |
| Connection has hung since last reset.
|
|
size_t | m_msgLength |
|
size_t | m_msgConsumed |
|
|
enum | ERROR_t { ERROR_NO_ERROR = 0,
ERROR_SERVER_UNREACHABLE,
ERROR_SOCKET_ERROR,
ERROR_UNKNOWN_VERSION
} |
|
Definition at line 37 of file mythrecordingplayback.h.
The documentation for this class was generated from the following files: