Public Member Functions | |
~CCardGameBase () | |
void | BaseSendTo (TDesC8 &aDes, TInetAddr aAddr) |
void | BaseRecvFrom (TDes8 &aDes) |
void | BaseCancelSendTo () |
void | BaseCancelRecvFrom () |
void | BaseCancelAll () |
void | StartTimer (TInt aDuration) |
void | StopTimer () |
virtual void | SendComplete (TInt aError)=0 |
virtual void | RecvComplete (TInetAddr aRecvAddr, TInt aError)=0 |
virtual void | TimerComplete ()=0 |
Public Attributes | |
RSocket | iSocket |
Protected Member Functions | |
void | ConstructL (RSocket &aSocket) |
Definition at line 30 of file cardgamebase.h.
CCardGameBase::~CCardGameBase | ( | ) |
Destructor.
Definition at line 25 of file cardgamebase.cpp.
void CCardGameBase::BaseSendTo | ( | TDesC8 & | aDes, | |
TInetAddr | aAddr | |||
) |
Concrete function to send a descriptor to specified address. Calls back to SendComplete
aDes | Reference to descriptor to send | |
aAddr | Address to send to |
Definition at line 50 of file cardgamebase.cpp.
void CCardGameBase::BaseRecvFrom | ( | TDes8 & | aDes | ) |
Concrete function to recv a descriptor of specified length. Calls back to RecvComplete.
aLength | Length of descriptor to recv |
Definition at line 61 of file cardgamebase.cpp.
void CCardGameBase::BaseCancelSendTo | ( | ) |
Function that cancels send operation
Definition at line 69 of file cardgamebase.cpp.
void CCardGameBase::BaseCancelRecvFrom | ( | ) |
Function that cancels a recv operation.
Definition at line 76 of file cardgamebase.cpp.
void CCardGameBase::BaseCancelAll | ( | ) |
Function to cancel all outstanding active objects.
Definition at line 83 of file cardgamebase.cpp.
void CCardGameBase::StartTimer | ( | TInt | aDuration | ) |
Concrete function that takes a time in milliseconds and starts a timer that will result in a call back to TimerComplete.
aDuration | Duration of timer |
Definition at line 97 of file cardgamebase.cpp.
void CCardGameBase::ConstructL | ( | RSocket & | aSocket | ) | [protected] |