#include <serversession.h>
Public Member Functions | |
| void | ServiceL (const RMessage &aMessage) |
| void | SetPeerList (TPeerDataList *aPeerList) |
| void | DeallocateConnection (CConcreteConnection *aConnection) |
| TInt | AllocateConnection (CConcreteConnection *aConnection) |
| CConcreteConnection * | GetConnection (TInt id) |
Static Public Member Functions | |
| CServerSession * | NewL (RThread &aClient, CCobainServer *aServer) |
| void | PanicClient (const RMessage &aMessage, CCobainServer::TServerPanic aPanic) |
Private Member Functions | |
| CServerSession (RThread &aClient, CCobainServer *aServer) | |
| void | ConstructL () |
| ~CServerSession () | |
| void | GetNumPeersL (const RMessage &aMessage) |
| void | GetPeer (const RMessage &aMessage) |
| void | Send (const RMessage &aMessage) |
| void | Receive (const RMessage &aMessage) |
| void | CancelReceive (const RMessage &aMessage) |
| void | StartListen (const RMessage &aMessage) |
| void | AbortListen (const RMessage &aMessage) |
| void | GetIncomingConnection (const RMessage &aMessage) |
| void | ConnectL (const RMessage &aMessage) |
| void | CloseSocket (const RMessage &aMessage) |
Private Attributes | |
| CConcreteConnection * | iConnections [KMaxSocketCount] |
| CBTCommunicator * | iBTCommunicator |
| TPeerDataList * | iPeerList |
| CCobainServer * | iServer |
| CConcreteConnection * | iListeningConnection |
Definition at line 59 of file serversession.h.
|
||||||||||||
|
Definition at line 30 of file serversession.cpp. References iConnections, and Log::Print(). Referenced by NewL(). |
|
|
Definition at line 41 of file serversession.cpp. References CConcreteConnection::Close(), CCobainServer::DecrementSession(), iBTCommunicator, iConnections, iPeerList, iServer, KMaxSocketCount, Log::Print(), and CBTCommunicator::StopListeningL(). |
|
|
Definition at line 314 of file serversession.cpp. References EBluetooth, iBTCommunicator, iListeningConnection, PanicClient(), Log::Print(), and CBTCommunicator::StopListeningL(). Referenced by ServiceL(). |
|
|
Definition at line 110 of file serversession.cpp. References iConnections, CConcreteConnection::IsListening(), KErrSessionTryingToAllocListeningCon, KMaxSocketCount, CCobainServer::PanicServer(), and Log::Print(). Referenced by ConnectL(), and CAsynchListen::RunL(). |
|
|
Definition at line 346 of file serversession.cpp. References CConcreteConnection::CancelReceive(), GetConnection(), and Log::Print(). Referenced by ServiceL(). |
|
|
Definition at line 246 of file serversession.cpp. References CConcreteConnection::Close(), DeallocateConnection(), GetConnection(), and Log::Print(). Referenced by ServiceL(). |
|
|
Definition at line 205 of file serversession.cpp. References AllocateConnection(), CBTCommunicator::ConnectL(), EBluetooth, iBTCommunicator, PanicClient(), Log::Print(), and TPeerDataBuf. Referenced by ServiceL(). |
|
|
Definition at line 86 of file serversession.cpp. References iBTCommunicator, CCobainServer::IncrementSession(), iServer, and CBTCommunicator::NewL(). Referenced by NewL(). |
|
|
Definition at line 137 of file serversession.cpp. References iConnections, CConcreteConnection::IsListening(), KErrSessionTryingToDeallocListeningCon, KMaxSocketCount, and Log::Print(). Referenced by CloseSocket(), and CConcreteConnection::~CConcreteConnection(). |
|
|
Definition at line 95 of file serversession.cpp. References iConnections, KErrSessionBadSocketTableIndex, KErrSessionConnectionNotFoundInGet, and KMaxSocketCount. Referenced by CancelReceive(), CloseSocket(), Receive(), and Send(). |
|
|
Definition at line 270 of file serversession.cpp. References iListeningConnection, CConcreteConnection::ListenL(), and PanicClient(). Referenced by ServiceL(). |
|
|
Definition at line 180 of file serversession.cpp. References CBTCommunicator::DiscoverPeersL(), EBluetooth, iBTCommunicator, iPeerList, and PanicClient(). Referenced by ServiceL(). |
|
|
Definition at line 157 of file serversession.cpp. References iPeerList, Log::Print(), and TPeerDataBuf. Referenced by ServiceL(). |
|
||||||||||||
|
Definition at line 75 of file serversession.cpp. References ConstructL(), and CServerSession(). Referenced by CCobainServer::NewSessionL(). |
|
||||||||||||
|
Definition at line 434 of file serversession.cpp. Referenced by AbortListen(), ConnectL(), GetIncomingConnection(), GetNumPeersL(), ServiceL(), and StartListen(). |
|
|
Definition at line 334 of file serversession.cpp. References GetConnection(), Log::Print(), and CConcreteConnection::ReceiveL(). Referenced by ServiceL(). |
|
|
Definition at line 359 of file serversession.cpp. References GetConnection(), Log::Print(), and CConcreteConnection::SendL(). Referenced by ServiceL(). |
|
|
Definition at line 388 of file serversession.cpp. References AbortListen(), CancelReceive(), CloseSocket(), ConnectL(), GetIncomingConnection(), GetNumPeersL(), GetPeer(), PanicClient(), Receive(), Send(), and StartListen(). |
|
|
Definition at line 68 of file serversession.h. References iPeerList, and TPeerDataList. Referenced by CBTCommunicator::DiscoverPeersL(), and CBTDiscoverer::FinishDiscovery(). |
|
|
Definition at line 285 of file serversession.cpp. References EBluetooth, iBTCommunicator, iListeningConnection, PanicClient(), and CBTCommunicator::StartListeningL(). Referenced by ServiceL(). |
|
|
Definition at line 99 of file serversession.h. Referenced by AbortListen(), ConnectL(), ConstructL(), GetNumPeersL(), StartListen(), and ~CServerSession(). |
|
|
Definition at line 97 of file serversession.h. Referenced by AllocateConnection(), CServerSession(), DeallocateConnection(), GetConnection(), and ~CServerSession(). |
|
|
Definition at line 105 of file serversession.h. Referenced by AbortListen(), GetIncomingConnection(), and StartListen(). |
|
|
Definition at line 101 of file serversession.h. Referenced by GetNumPeersL(), GetPeer(), SetPeerList(), and ~CServerSession(). |
|
|
Definition at line 102 of file serversession.h. Referenced by ConstructL(), and ~CServerSession(). |
1.3.5