#include <socketEvent.hpp>
Socket event
- Author
- Vincent Lachenal
SocketEvent::SocketEvent |
( |
const std::string & |
message | ) |
|
SocketEvent constructor
- Parameters
-
message | The message received on socket |
SocketEvent::SocketEvent |
( |
const std::string & |
message, |
|
|
const sockaddr_storage & |
address |
|
) |
| |
SocketEvent constructor
- Parameters
-
message | The message received on socket |
address | The address where the message has been sent |
SocketEvent::~SocketEvent |
( |
| ) |
|
|
virtual |
const sockaddr_storage& anch::network::SocketEvent::getAddress |
( |
| ) |
const |
|
inline |
Get the event message
- Returns
- The message
const std::string& anch::network::SocketEvent::getMessage |
( |
| ) |
const |
|
inline |
Get the event message
- Returns
- The message
The documentation for this class was generated from the following files:
- anch-network/inc/network/socketEvent.hpp
- anch-network/src/network/socketEvent.cpp