cCiTransportConnection Class Reference

List of all members.


Detailed Description

Definition at line 357 of file dvbci.cpp.


Public Member Functions

 cCiTransportConnection (void)
 ~cCiTransportConnection ()
int Slot (void) const
int SendData (int Length, const uint8_t *Data)
int RecvData (void)
const uint8_t * Data (int &Length)

Private Member Functions

void Init (int Fd, uint8_t Slot, uint8_t Tcid)
int SendTPDU (uint8_t Tag, int Length=0, const uint8_t *Data=NULL)
int RecvTPDU (void)
int CreateConnection (void)
int Poll (void)
eState State (void)
int LastResponse (void)
bool DataAvailable (void)

Private Attributes

int fd
uint8_t slot
uint8_t tcid
eState state
cTPDUtpdu
struct timeval last_poll
int lastResponse
bool dataAvailable

Friends

class cCiTransportLayer

Constructor & Destructor Documentation

cCiTransportConnection::cCiTransportConnection ( void   ) 

Definition at line 386 of file dvbci.cpp.

cCiTransportConnection::~cCiTransportConnection (  ) 

Definition at line 394 of file dvbci.cpp.


Member Function Documentation

void cCiTransportConnection::Init ( int  Fd,
uint8_t  Slot,
uint8_t  Tcid 
) [private]

Definition at line 399 of file dvbci.cpp.

Referenced by cCiTransportConnection(), cCiTransportLayer::NewConnection(), and RecvTPDU().

int cCiTransportConnection::SendTPDU ( uint8_t  Tag,
int  Length = 0,
const uint8_t *  Data = NULL 
) [private]

Definition at line 412 of file dvbci.cpp.

Referenced by CreateConnection(), Poll(), RecvData(), RecvTPDU(), and SendData().

int cCiTransportConnection::RecvTPDU ( void   )  [private]

Definition at line 420 of file dvbci.cpp.

Referenced by CreateConnection(), Poll(), RecvData(), and SendData().

int cCiTransportConnection::CreateConnection ( void   )  [private]

Definition at line 508 of file dvbci.cpp.

int cCiTransportConnection::Poll ( void   )  [private]

Definition at line 536 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

eState cCiTransportConnection::State ( void   )  [inline, private]

Definition at line 373 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

int cCiTransportConnection::LastResponse ( void   )  [inline, private]

Definition at line 374 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

bool cCiTransportConnection::DataAvailable ( void   )  [inline, private]

Definition at line 375 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

int cCiTransportConnection::Slot ( void   )  const [inline]

Definition at line 379 of file dvbci.cpp.

Referenced by cLlCiHandler::CreateSession(), and cCiTransportLayer::Process().

int cCiTransportConnection::SendData ( int  Length,
const uint8_t *  Data 
)

Definition at line 477 of file dvbci.cpp.

Referenced by cLlCiHandler::Send(), and cCiSession::SendData().

int cCiTransportConnection::RecvData ( void   ) 

Definition at line 494 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

const uint8_t * cCiTransportConnection::Data ( int &  Length  ) 

Definition at line 501 of file dvbci.cpp.

Referenced by cLlCiHandler::Process().


Friends And Related Function Documentation

friend class cCiTransportLayer [friend]

Definition at line 358 of file dvbci.cpp.


Member Data Documentation

Definition at line 360 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), and SendTPDU().

uint8_t cCiTransportConnection::slot [private]

Definition at line 361 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), and SendTPDU().

uint8_t cCiTransportConnection::tcid [private]

Definition at line 362 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), and SendTPDU().

Definition at line 363 of file dvbci.cpp.

Referenced by CreateConnection(), Init(), Poll(), RecvTPDU(), and SendData().

Definition at line 364 of file dvbci.cpp.

Referenced by cCiTransportConnection(), Data(), Init(), RecvTPDU(), and ~cCiTransportConnection().

struct timeval cCiTransportConnection::last_poll [read, private]

Definition at line 365 of file dvbci.cpp.

Referenced by cCiTransportConnection(), and Poll().

Definition at line 366 of file dvbci.cpp.

Referenced by Init(), and RecvTPDU().

Definition at line 367 of file dvbci.cpp.

Referenced by Init(), and RecvTPDU().


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

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5