#include <socketEvent.hpp>
Socket event
- Author
- Vincent Lachenal
◆ SocketEvent() [1/2]
anch::network::SocketEvent::SocketEvent |
( |
const std::string & | message | ) |
|
SocketEvent constructor
- Parameters
-
message | The message received on socket |
◆ SocketEvent() [2/2]
anch::network::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()
virtual anch::network::SocketEvent::~SocketEvent |
( |
| ) |
|
|
virtual |
◆ getAddress()
const sockaddr_storage & anch::network::SocketEvent::getAddress |
( |
| ) |
const |
|
inline |
Get the event message
- Returns
- The message
◆ getMessage()
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 file: