#include <netsession_client.h>
Inheritance diagram for CL_NetSession_Client:


Public Methods | |
| CL_NetSession_Client (int ip_addr, int port, const std::string &game_id, CL_ConnectionProvider *provider) | |
| virtual | ~CL_NetSession_Client () |
| virtual CL_NetComputer& | get_server () |
| virtual CL_NetGroup& | get_all () |
| virtual bool | peek (int channel) const |
| virtual CL_NetMessage | receive (int channel, int timeout=-1) |
| virtual void | send (const int dest_channel, const CL_NetGroup &dest, const CL_NetMessage &message, bool reliable=true) |
| virtual CL_NetComputer | receive_computer_leave () |
| virtual CL_NetComputer | receive_computer_join () |
| virtual CL_NetComputer | receive_computer_rejoin () |
| virtual bool | receive_session_closed () |
| virtual int | access_status (int channel) const |
| virtual bool | is_writable (int channel) const |
| virtual bool | is_readable (int channel) const |
| virtual int | receive_access_changed () |
| virtual void | set_access (int channel, const CL_NetComputer &computer, int access_rights=ACCESS_CHANNEL_READ|ACCESS_CHANNEL_WRITE) |
| virtual void | set_access (int channel, const CL_NetGroup &group, int access_rights=ACCESS_CHANNEL_READ|ACCESS_CHANNEL_WRITE) |
Protected Methods | |
| virtual void | keep_alive () |
Private Methods | |
| CL_NetChannelQueue_Client* | find_queue (int netchannel) const |
| CL_NetChannelQueue_Client* | create_queue (int netchannel) |
| void | check_trigger () |
| virtual void | run () |
Private Attributes | |
| CL_Connection* | tcp_connection |
| CL_UDPConnection* | udp_connection |
| std::list<CL_NetChannelQueue_Client*> | netchannels |
| std::queue<CL_NetChannelQueue_Client*> | access_queue |
| int | our_id |
| CL_NetComputer | server |
| CL_NetGroup | all |
| CL_Mutex* | mutex |
| CL_Thread* | thread |
| volatile bool | exit_thread |
| friend | CL_NetComputer_Server |
|
|
|
|
|
|
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_Runnable. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
Reimplemented from CL_NetSession_Generic. |
|
|
|
|
|
Definition at line 110 of file netsession_client.h. |
|
|
Definition at line 97 of file netsession_client.h. |
|
|
Definition at line 101 of file netsession_client.h. |
|
|
Definition at line 106 of file netsession_client.h. |
|
|
Definition at line 104 of file netsession_client.h. |
|
|
Definition at line 96 of file netsession_client.h. |
|
|
Definition at line 98 of file netsession_client.h. |
|
|
Definition at line 100 of file netsession_client.h. |
|
|
Definition at line 94 of file netsession_client.h. |
|
|
Definition at line 105 of file netsession_client.h. |
|
|
Definition at line 95 of file netsession_client.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001