AnCH Framework  0.1
Another C++ Hack Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
anch::network::SocketEvent Class Reference

#include <socketEvent.hpp>

Collaboration diagram for anch::network::SocketEvent:

Public Member Functions

 SocketEvent (const std::string &message)
 
 SocketEvent (const std::string &message, const sockaddr_storage &address)
 
virtual ~SocketEvent ()
 
const std::string & getMessage () const
 
const sockaddr_storage & getAddress () const
 

Detailed Description

Socket event

Author
Vincent Lachenal

Constructor & Destructor Documentation

SocketEvent::SocketEvent ( const std::string &  message)

SocketEvent constructor

Parameters
messageThe message received on socket
SocketEvent::SocketEvent ( const std::string &  message,
const sockaddr_storage &  address 
)

SocketEvent constructor

Parameters
messageThe message received on socket
addressThe address where the message has been sent
SocketEvent::~SocketEvent ( )
virtual

SocketEvent destructor

Member Function Documentation

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: