![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Class representing a computer in a network game.
Contained in: global
Derived from:
none
Derived by:
none
Group: Network (NetSessions)
#include <ClanLib/network.h>
public function member index: |
||
Construction: |
||
CL_NetComputer | (); | |
CL_NetComputer | (const CL_NetComputer& copy); | |
virtual | ~CL_NetComputer | (); |
Attributes: |
||
CL_IPAddress | get_address | () const; |
CL_NetSession | get_session | (); |
bool | is_disconnected | () const; |
const std::string& | get_disconnect_reason | () const; |
bool | operator == | (const CL_NetComputer& other_instance) const; |
bool | operator < | (const CL_NetComputer& other_instance) const; |
bool | operator > | (const CL_NetComputer& other_instance) const; |
Operations: |
||
void | disconnect | (); |
void | send | (const std::string& packet_channel, const CL_NetPacket& packet); |
CL_NetComputer& | operator = | (const CL_NetComputer& other_instance); |
Implementation: |
||
CL_NetComputer | (class CL_NetComputer_Generic* impl); | |
<p>This is used for sorting purposes (eg. if you use a std::map<CL_NetComputer, Player>).</p>
<p>This is used for sorting purposes (eg. if you use a std::map<CL_NetComputer, Player>).</p>