cCiSession Class Reference

Inheritance diagram for cCiSession:

Inheritance graph
[legend]
Collaboration diagram for cCiSession:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cCiSession (uint16_t SessionId, uint32_t ResourceId, cCiTransportConnection *Tc)
virtual ~cCiSession ()
const cCiTransportConnectionTc (void)
uint16_t SessionId (void)
uint32_t ResourceId (void)
virtual bool HasUserIO (void)
virtual bool Process (int Length=0, const uint8_t *Data=NULL)

Protected Member Functions

int GetTag (int &Length, const uint8_t **Data)
const uint8_t * GetData (const uint8_t *Data, int &Length)
int SendData (int Tag, int Length=0, const uint8_t *Data=NULL)

Private Attributes

uint16_t sessionId
uint32_t resourceId
cCiTransportConnectiontc


Detailed Description

Definition at line 631 of file ci.c.


Constructor & Destructor Documentation

cCiSession::cCiSession ( uint16_t  SessionId,
uint32_t  ResourceId,
cCiTransportConnection Tc 
)

Definition at line 650 of file ci.c.

References resourceId, sessionId, and tc.

cCiSession::~cCiSession (  )  [virtual]

Definition at line 657 of file ci.c.


Member Function Documentation

int cCiSession::GetTag ( int &  Length,
const uint8_t **  Data 
) [protected]

Parameters:
Data  Gets the tag at Data.
Returns:
Returns the actual tag, or AOT_NONE in case of error. Upon return Length and Data represent the remaining data after the tag has been skipped.

Definition at line 661 of file ci.c.

References AOT_NONE.

Referenced by cCiMMI::GetText(), cCiMMI::Process(), cCiDateTime::Process(), cCiConditionalAccessSupport::Process(), cCiApplicationInformation::Process(), and cCiResourceManager::Process().

const uint8_t * cCiSession::GetData ( const uint8_t *  Data,
int &  Length 
) [protected]

Definition at line 676 of file ci.c.

References GetLength().

Referenced by cCiMMI::Process(), cCiDateTime::Process(), cCiConditionalAccessSupport::Process(), cCiApplicationInformation::Process(), and cCiResourceManager::Process().

Here is the call graph for this function:

int cCiSession::SendData ( int  Tag,
int  Length = 0,
const uint8_t *  Data = NULL 
) [protected]

Definition at line 682 of file ci.c.

References ERROR, esyslog, cCiTransportConnection::SendData(), sessionId, SetLength(), ST_SESSION_NUMBER, and tc.

Referenced by cCiApplicationInformation::EnterMenu(), cCiMMI::Process(), cCiConditionalAccessSupport::Process(), cCiApplicationInformation::Process(), cCiResourceManager::Process(), cCiMMI::SendAnswer(), cCiMMI::SendCloseMMI(), cCiDateTime::SendDateTime(), cCiMMI::SendMenuAnswer(), and cCiConditionalAccessSupport::SendPMT().

Here is the call graph for this function:

const cCiTransportConnection* cCiSession::Tc ( void   )  [inline]

Definition at line 643 of file ci.c.

References cCiTransportLayer::tc.

uint16_t cCiSession::SessionId ( void   )  [inline]

Definition at line 644 of file ci.c.

Referenced by cCiApplicationInformation::EnterMenu(), cCiMMI::GetText(), cCiHandler::OpenSession(), cCiMMI::Process(), cCiDateTime::Process(), cCiConditionalAccessSupport::Process(), cCiApplicationInformation::Process(), cCiResourceManager::Process(), cCiMenu::Select(), cCiMMI::SendAnswer(), cCiMMI::SendCloseMMI(), cCiDateTime::SendDateTime(), cCiMMI::SendMenuAnswer(), and cCiConditionalAccessSupport::SendPMT().

uint32_t cCiSession::ResourceId ( void   )  [inline]

Definition at line 645 of file ci.c.

Referenced by cCiHandler::OpenSession().

virtual bool cCiSession::HasUserIO ( void   )  [inline, virtual]

Reimplemented in cCiMMI.

Definition at line 646 of file ci.c.

Referenced by cCiHandler::Process().

bool cCiSession::Process ( int  Length = 0,
const uint8_t *  Data = NULL 
) [virtual]

Reimplemented in cCiResourceManager, cCiApplicationInformation, cCiConditionalAccessSupport, cCiDateTime, and cCiMMI.

Definition at line 703 of file ci.c.

Referenced by cCiHandler::Process().


Member Data Documentation

uint16_t cCiSession::sessionId [private]

Definition at line 633 of file ci.c.

Referenced by cCiSession(), and SendData().

uint32_t cCiSession::resourceId [private]

Definition at line 634 of file ci.c.

Referenced by cCiSession().

cCiTransportConnection* cCiSession::tc [private]

Definition at line 635 of file ci.c.

Referenced by cCiSession(), and SendData().


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