Bridges-C++
3.4.4
Bridges(C++ API)
|
#include <SocketConnection.h>
This is meant to be an internal class, not something that the library user will use.
This class provide functionality for making socket connections to the Bridges Game server
Public Member Functions | |
SocketConnection (bridges::Bridges &b) | |
void | registerKeyListener (KeypressListener *p) |
void | forwardKeyUp (sio::event &e) |
void | forwardKeyDown (sio::event &e) |
~SocketConnection () | |
void | reconfigure_socket () |
void | sendCredentials () |
void | on_reconnect (unsigned, unsigned) |
void | on_socketopen (const std::string &nsp) |
void | on_connected () |
void | on_close (sio::client::close_reason const &reason) |
void | on_socketerror (sio::message::ptr const &message) |
void | on_fail () |
void | on_announcement (std::string const &name, sio::message::ptr const &data, bool isAck, sio::message::list &ack_resp) |
void | wait_on_connection () |
void | sendDataToServer (const GameGrid &gg) |
void | sendSceneDataToServer (const Scene &s) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |