#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 31 of file serversession.cpp. References iConnections, and Log::Print(). Referenced by NewL(). |
|
|
Definition at line 42 of file serversession.cpp. References CConcreteConnection::Close(), CCobainServer::DecrementSession(), iBTCommunicator, iConnections, iPeerList, iServer, KMaxSocketCount, Log::Print(), and CBTCommunicator::StopListeningL(). |
|
|
Definition at line 331 of file serversession.cpp. References EBluetooth, iBTCommunicator, iListeningConnection, PanicClient(), Log::Print(), and CBTCommunicator::StopListeningL(). Referenced by ServiceL(). |
|
|
Definition at line 111 of file serversession.cpp. References iConnections, CConcreteConnection::IsListening(), KErrSessionTryingToAllocListeningCon, KMaxSocketCount, CCobainServer::PanicServer(), and Log::Print(). Referenced by ConnectL(), and CAsynchListen::RunL(). |
|
|
Definition at line 363 of file serversession.cpp. References CConcreteConnection::CancelReceive(), GetConnection(), and Log::Print(). Referenced by ServiceL(). |
|
|
Definition at line 261 of file serversession.cpp. References CConcreteConnection::Close(), DeallocateConnection(), GetConnection(), and Log::Print(). Referenced by ServiceL(). |
|
|
Definition at line 215 of file serversession.cpp. References AllocateConnection(), CBTCommunicator::ConnectL(), EBluetooth, iBTCommunicator, PanicClient(), Log::Print(), CBTCommunicator::ResolveMTU(), and TPeerDataBuf. Referenced by ServiceL(). |
|
|
Definition at line 87 of file serversession.cpp. References iBTCommunicator, CCobainServer::IncrementSession(), iServer, and CBTCommunicator::NewL(). Referenced by NewL(). |
|
|
Definition at line 138 of file serversession.cpp. References iConnections, CConcreteConnection::IsListening(), KErrSessionTryingToDeallocListeningCon, KMaxSocketCount, and Log::Print(). Referenced by CloseSocket(), and CConcreteConnection::~CConcreteConnection(). |
|
|
Definition at line 96 of file serversession.cpp. References iConnections, KErrSessionBadSocketTableIndex, KErrSessionConnectionNotFoundInGet, and KMaxSocketCount. Referenced by CancelReceive(), CloseSocket(), Receive(), and Send(). |
|
|
Definition at line 285 of file serversession.cpp. References iListeningConnection, CConcreteConnection::ListenL(), and PanicClient(). Referenced by ServiceL(). |
|
|
Definition at line 188 of file serversession.cpp. References CBTCommunicator::DiscoverPeersL(), EBluetooth, iBTCommunicator, iPeerList, and PanicClient(). Referenced by ServiceL(). |
|
|
Definition at line 165 of file serversession.cpp. References iPeerList, Log::Print(), and TPeerDataBuf. Referenced by ServiceL(). |
|
||||||||||||
|
Definition at line 76 of file serversession.cpp. References ConstructL(), and CServerSession(). Referenced by CCobainServer::NewSessionL(). |
|
||||||||||||
|
Definition at line 451 of file serversession.cpp. Referenced by AbortListen(), ConnectL(), GetIncomingConnection(), GetNumPeersL(), ServiceL(), and StartListen(). |
|
|
Definition at line 351 of file serversession.cpp. References GetConnection(), Log::Print(), and CConcreteConnection::ReceiveL(). Referenced by ServiceL(). |
|
|
Definition at line 376 of file serversession.cpp. References GetConnection(), Log::Print(), and CConcreteConnection::SendL(). Referenced by ServiceL(). |
|
|
Definition at line 405 of file serversession.cpp. References AbortListen(), CancelReceive(), CloseSocket(), ConnectL(), GetIncomingConnection(), GetNumPeersL(), GetPeer(), PanicClient(), Receive(), Send(), and StartListen(). |
|
|
Definition at line 155 of file serversession.cpp. References iPeerList, and TPeerDataList. Referenced by CBTCommunicator::DiscoverPeersL(), and CBTDiscoverer::FinishDiscovery(). |
|
|
Definition at line 300 of file serversession.cpp. References EBluetooth, iBTCommunicator, iListeningConnection, PanicClient(), and CBTCommunicator::StartListeningL(). Referenced by ServiceL(). |
|
|
Definition at line 98 of file serversession.h. Referenced by AbortListen(), ConnectL(), ConstructL(), GetNumPeersL(), StartListen(), and ~CServerSession(). |
|
|
Definition at line 96 of file serversession.h. Referenced by AllocateConnection(), CServerSession(), DeallocateConnection(), GetConnection(), and ~CServerSession(). |
|
|
Definition at line 104 of file serversession.h. Referenced by AbortListen(), GetIncomingConnection(), and StartListen(). |
|
|
Definition at line 100 of file serversession.h. Referenced by GetNumPeersL(), GetPeer(), SetPeerList(), and ~CServerSession(). |
|
|
Definition at line 101 of file serversession.h. Referenced by ConstructL(), and ~CServerSession(). |
1.3.5