cCiTransportConnection Class Reference

List of all members.

Public Member Functions

 cCiTransportConnection (void)
 ~cCiTransportConnection ()
int Slot (void) const
int SendData (int Length, const uint8_t *Data)
int RecvData (void)
const uint8_tData (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

Detailed Description

Definition at line 365 of file dvbci.cpp.


Constructor & Destructor Documentation

cCiTransportConnection::cCiTransportConnection ( void   ) 

Definition at line 394 of file dvbci.cpp.

cCiTransportConnection::~cCiTransportConnection (  ) 

Definition at line 402 of file dvbci.cpp.


Member Function Documentation

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

Definition at line 407 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 420 of file dvbci.cpp.

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

int cCiTransportConnection::RecvTPDU ( void   )  [private]

Definition at line 428 of file dvbci.cpp.

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

int cCiTransportConnection::CreateConnection ( void   )  [private]

Definition at line 516 of file dvbci.cpp.

int cCiTransportConnection::Poll ( void   )  [private]

Definition at line 544 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

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

Definition at line 381 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

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

Definition at line 382 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

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

Definition at line 383 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

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

Definition at line 387 of file dvbci.cpp.

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

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

Definition at line 485 of file dvbci.cpp.

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

int cCiTransportConnection::RecvData ( void   ) 

Definition at line 502 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

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

Definition at line 509 of file dvbci.cpp.

Referenced by cLlCiHandler::Process().


Friends And Related Function Documentation

friend class cCiTransportLayer [friend]

Definition at line 366 of file dvbci.cpp.


Member Data Documentation

Definition at line 368 of file dvbci.cpp.

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

Definition at line 369 of file dvbci.cpp.

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

Definition at line 370 of file dvbci.cpp.

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

Definition at line 371 of file dvbci.cpp.

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

Definition at line 372 of file dvbci.cpp.

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

struct timeval cCiTransportConnection::last_poll [private]

Definition at line 373 of file dvbci.cpp.

Referenced by cCiTransportConnection(), and Poll().

Definition at line 374 of file dvbci.cpp.

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

Definition at line 375 of file dvbci.cpp.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:41:53 2012 for MythTV by  doxygen 1.6.3