cCiTransportLayer Class Reference

Collaboration diagram for cCiTransportLayer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cCiTransportLayer (int Fd, int NumSlots)
cCiTransportConnectionNewConnection (int Slot)
bool ResetSlot (int Slot, bool Wait=false)
bool ModuleReady (int Slot)
cCiTransportConnectionProcess (int Slot)

Private Attributes

int fd
int numSlots
cCiTransportConnection tc [MAX_CI_CONNECT]


Detailed Description

Definition at line 448 of file ci.c.


Constructor & Destructor Documentation

cCiTransportLayer::cCiTransportLayer ( int  Fd,
int  NumSlots 
)

Definition at line 461 of file ci.c.

References fd, numSlots, ResetSlot(), and cCondWait::SleepMs().

Here is the call graph for this function:


Member Function Documentation

cCiTransportConnection * cCiTransportLayer::NewConnection ( int  Slot  ) 

Definition at line 470 of file ci.c.

References dbgprotocol, fd, cCiTransportConnection::Init(), MAX_CI_CONNECT, OK, stIDLE, and tc.

Referenced by cCiHandler::Process().

Here is the call graph for this function:

bool cCiTransportLayer::ResetSlot ( int  Slot,
bool  Wait = false 
)

Definition at line 484 of file ci.c.

References dbgprotocol, esyslog, fd, MAX_CI_CONNECT, cCiTransportConnection::Reset(), cCondWait::SleepMs(), stIDLE, and tc.

Referenced by cCiTransportLayer(), cCiHandler::Process(), and cCiHandler::Reset().

Here is the call graph for this function:

bool cCiTransportLayer::ModuleReady ( int  Slot  ) 

Definition at line 503 of file ci.c.

References esyslog, and fd.

Referenced by cCiHandler::Process().

cCiTransportConnection * cCiTransportLayer::Process ( int  Slot  ) 

Definition at line 514 of file ci.c.

References cCiTransportConnection::DataAvailable(), ERROR, cCiTransportConnection::LastResponse(), MAX_CI_CONNECT, OK, cCiTransportConnection::Poll(), cCiTransportConnection::RecvData(), cCiTransportConnection::Slot(), stACTIVE, cCiTransportConnection::State(), stCREATION, T_CTC_REPLY, T_DATA_LAST, T_DATA_MORE, T_REQUEST_TC, T_SB, tc, and TIMEOUT.

Referenced by cCiHandler::Process().

Here is the call graph for this function:


Member Data Documentation

int cCiTransportLayer::fd [private]

Definition at line 450 of file ci.c.

Referenced by cCiTransportLayer(), ModuleReady(), NewConnection(), and ResetSlot().

int cCiTransportLayer::numSlots [private]

Definition at line 451 of file ci.c.

Referenced by cCiTransportLayer().

cCiTransportConnection cCiTransportLayer::tc[MAX_CI_CONNECT] [private]

Definition at line 452 of file ci.c.

Referenced by NewConnection(), Process(), ResetSlot(), and cCiSession::Tc().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:06:27 2007 for VDR by  doxygen 1.5.3-20071008