openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
ePMTClient Class Reference

#include <cahandler.h>

Inheritance diagram for ePMTClient:
eUnixDomainSocket eSocket

Public Member Functions

 ePMTClient (eDVBCAHandler *handler, int socket)
 
- Public Member Functions inherited from eUnixDomainSocket
 eUnixDomainSocket (eMainloop *ml)
 
 eUnixDomainSocket (int socket, int issocket, eMainloop *ml)
 
 ~eUnixDomainSocket ()
 
int connectToPath (std::string path)
 
- Public Member Functions inherited from eSocket
 eSocket (eMainloop *ml, int domain=AF_INET)
 
 eSocket (int socket, int issocket, eMainloop *ml)
 
virtual ~eSocket ()
 
int connectToHost (std::string hostname, int port)
 
int getDescriptor ()
 
int writeBlock (const char *data, unsigned int len)
 
int setSocket (int socketfd, int issocket, eMainloop *ml)
 
int bytesToWrite ()
 
int readBlock (char *data, unsigned int maxlen)
 
int bytesAvailable ()
 
bool canReadLine ()
 
std::string readLine ()
 
void close ()
 
void enableRead ()
 
void disableRead ()
 
void inject (const char *data, int len)
 
int state ()
 

Protected Member Functions

void connectionLost ()
 
void dataAvailable ()
 
void clientTLVReceived (unsigned char *tag, int length, unsigned char *value)
 
void parseTLVObjects (unsigned char *data, int size)
 
- Protected Member Functions inherited from eSocket
virtual void notifier (int)
 

Protected Attributes

eDVBCAHandlerparent
 
- Protected Attributes inherited from eSocket
int socketdesc
 
int mystate
 
ePtr< eSocketNotifierrsn
 
eMainloopmainloop
 

Additional Inherited Members

- Public Types inherited from eSocket
enum  State {
  Invalid , Idle , HostLookup , Connecting ,
  Listening , Connection , Closing
}
 
- Public Attributes inherited from eSocket
sigc::signal0< void > connectionClosed_
 
sigc::signal0< void > connected_
 
sigc::signal0< void > readyRead_
 
sigc::signal0< void > hangup
 
sigc::signal1< void, int > bytesWritten_
 
sigc::signal1< void, int > error_
 

Constructor & Destructor Documentation

◆ ePMTClient()

ePMTClient::ePMTClient ( eDVBCAHandler handler,
int  socket 
)

Member Function Documentation

◆ clientTLVReceived()

void ePMTClient::clientTLVReceived ( unsigned char *  tag,
int  length,
unsigned char *  value 
)
protected

◆ connectionLost()

void ePMTClient::connectionLost ( )
protected

◆ dataAvailable()

void ePMTClient::dataAvailable ( )
protected

◆ parseTLVObjects()

void ePMTClient::parseTLVObjects ( unsigned char *  data,
int  size 
)
protected

Member Data Documentation

◆ parent

eDVBCAHandler* ePMTClient::parent
protected

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