This is meant to be an internal class, not something that the library user will use.
More...
#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
- Author
- Erik Saule, David Burlinson
- Date
- 2019, 12/29/20
◆ SocketConnection()
◆ ~SocketConnection()
bridges::game::SocketConnection::~SocketConnection |
( |
| ) |
|
|
inline |
◆ forwardKeyDown()
void bridges::game::SocketConnection::forwardKeyDown |
( |
sio::event & |
e | ) |
|
|
inline |
◆ forwardKeyUp()
void bridges::game::SocketConnection::forwardKeyUp |
( |
sio::event & |
e | ) |
|
|
inline |
◆ on_announcement()
void bridges::game::SocketConnection::on_announcement |
( |
std::string const & |
name, |
|
|
sio::message::ptr const & |
data, |
|
|
bool |
isAck, |
|
|
sio::message::list & |
ack_resp |
|
) |
| |
|
inline |
◆ on_close()
void bridges::game::SocketConnection::on_close |
( |
sio::client::close_reason const & |
reason | ) |
|
|
inline |
◆ on_connected()
void bridges::game::SocketConnection::on_connected |
( |
| ) |
|
|
inline |
◆ on_fail()
void bridges::game::SocketConnection::on_fail |
( |
| ) |
|
|
inline |
◆ on_reconnect()
void bridges::game::SocketConnection::on_reconnect |
( |
unsigned |
, |
|
|
unsigned |
|
|
) |
| |
|
inline |
◆ on_socketerror()
void bridges::game::SocketConnection::on_socketerror |
( |
sio::message::ptr const & |
message | ) |
|
|
inline |
◆ on_socketopen()
void bridges::game::SocketConnection::on_socketopen |
( |
const std::string & |
nsp | ) |
|
|
inline |
◆ reconfigure_socket()
void bridges::game::SocketConnection::reconfigure_socket |
( |
| ) |
|
|
inline |
◆ registerKeyListener()
void bridges::game::SocketConnection::registerKeyListener |
( |
KeypressListener * |
p | ) |
|
|
inline |
◆ sendCredentials()
void bridges::game::SocketConnection::sendCredentials |
( |
| ) |
|
|
inline |
◆ sendDataToServer()
void bridges::game::SocketConnection::sendDataToServer |
( |
const GameGrid & |
gg | ) |
|
|
inline |
◆ sendSceneDataToServer()
void bridges::game::SocketConnection::sendSceneDataToServer |
( |
const Scene & |
s | ) |
|
|
inline |
◆ wait_on_connection()
void bridges::game::SocketConnection::wait_on_connection |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: