Public Member Functions | |
~CCardGameDealer () | |
void | ShuffleCards (TDesC8 &aCards) |
void | DealCardsL (TDesC8 &aCards) |
Public Attributes | |
RArray< TInetAddr > | iRemoteNames |
Protected Member Functions | |
void | ConstructL (RArray< TInetAddr > &aRemoteNames, RSocket &aSocket) |
virtual void | SendComplete (TInt aError)=0 |
virtual void | RecvComplete (TInetAddr aRecvAddr, TInt aError)=0 |
virtual void | TimerComplete ()=0 |
Definition at line 29 of file cardgamedealer.h.
CCardGameDealer::~CCardGameDealer | ( | ) |
D'tor
Definition at line 27 of file cardgamedealer.cpp.
void CCardGameDealer::ConstructL | ( | RArray< TInetAddr > & | aRemoteNames, | |
RSocket & | aSocket | |||
) | [protected] |
Constructor, takes remote name array and calls base constructor.
Definition at line 34 of file cardgamedealer.cpp.
void CCardGameDealer::ShuffleCards | ( | TDesC8 & | aCards | ) |
A function that takes a deck of cards in the form of a descriptor and shuffles the cards in a random manner.
aCards | Cards to be shuffled |
Definition at line 47 of file cardgamedealer.cpp.
void CCardGameDealer::DealCardsL | ( | TDesC8 & | aCards | ) |
A function that takes a deck of cards in the form of a descriptor, and deals out the cards using the RSocket connection.
aCards | A pack of cards |
Definition at line 107 of file cardgamedealer.cpp.