openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eDVBCISession Class Referenceabstract

#include <dvbci_session.h>

Inheritance diagram for eDVBCISession:
eDVBCIApplicationManagerSession eDVBCICAManagerSession eDVBCIDateTimeSession eDVBCIMMISession eDVBCIResourceManagerSession

Public Types

enum  {
  stateInCreation , stateBusy , stateInDeletion , stateStarted ,
  statePrivate
}
 

Public Member Functions

virtual ~eDVBCISession ()
 
int poll ()
 
int getState ()
 
int getStatus ()
 

Static Public Member Functions

static void deleteSessions (const eDVBCISlot *slot)
 
static int parseLengthField (const unsigned char *pkt, int &len)
 
static int buildLengthField (unsigned char *pkt, int len)
 
static void receiveData (eDVBCISlot *slot, const unsigned char *ptr, size_t len)
 
static int pollAll ()
 

Protected Member Functions

virtual int receivedAPDU (const unsigned char *tag, const void *data, int len)=0
 
void sendAPDU (const unsigned char *tag, const void *data=0, int len=0)
 
void sendSPDU (unsigned char tag, const void *data, int len, const void *apdu=0, int alen=0)
 
virtual int doAction ()=0
 
void handleClose ()
 

Protected Attributes

int state
 
int status
 
int action
 
eDVBCISlotslot
 
unsigned short session_nb
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
stateInCreation 
stateBusy 
stateInDeletion 
stateStarted 
statePrivate 

Constructor & Destructor Documentation

◆ ~eDVBCISession()

eDVBCISession::~eDVBCISession ( )
virtual

Member Function Documentation

◆ buildLengthField()

int eDVBCISession::buildLengthField ( unsigned char *  pkt,
int  len 
)
static

◆ deleteSessions()

void eDVBCISession::deleteSessions ( const eDVBCISlot slot)
static

◆ doAction()

virtual int eDVBCISession::doAction ( )
protectedpure virtual

◆ getState()

int eDVBCISession::getState ( )
inline

◆ getStatus()

int eDVBCISession::getStatus ( )
inline

◆ handleClose()

void eDVBCISession::handleClose ( )
protected

◆ parseLengthField()

int eDVBCISession::parseLengthField ( const unsigned char *  pkt,
int &  len 
)
static

◆ poll()

int eDVBCISession::poll ( )
inline

◆ pollAll()

int eDVBCISession::pollAll ( )
static

◆ receivedAPDU()

virtual int eDVBCISession::receivedAPDU ( const unsigned char *  tag,
const void *  data,
int  len 
)
protectedpure virtual

◆ receiveData()

void eDVBCISession::receiveData ( eDVBCISlot slot,
const unsigned char *  ptr,
size_t  len 
)
static

◆ sendAPDU()

void eDVBCISession::sendAPDU ( const unsigned char *  tag,
const void *  data = 0,
int  len = 0 
)
protected

◆ sendSPDU()

void eDVBCISession::sendSPDU ( unsigned char  tag,
const void *  data,
int  len,
const void *  apdu = 0,
int  alen = 0 
)
protected

Member Data Documentation

◆ action

int eDVBCISession::action
protected

◆ session_nb

unsigned short eDVBCISession::session_nb
protected

◆ slot

eDVBCISlot* eDVBCISession::slot
protected

◆ state

int eDVBCISession::state
protected

◆ status

int eDVBCISession::status
protected

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