#include <AlertRelay.h>
Public Member Functions | |
AlertRelay (const std::string &ipAddress=DEFAULT_IP, const std::string &port=DEFAULT_PORT) | |
virtual | ~AlertRelay () |
bool | IsReady () |
int | Relay (const std::string &msg) |
Private Member Functions | |
int | Initialize (const std::string &ipAddress, const std::string &port) |
SOCKET | SetupListening (const std::string &ipAddress, const std::string &port) |
int | AcceptWithoutBlocking (SOCKET *listenSocket, SOCKET *clientSocket) |
int | CloseSockets () |
Private Attributes | |
int | mState |
SOCKET | mListenSocket |
SOCKET | mClientSocket |
Static Private Attributes | |
static const char * | DEFAULT_PORT |
static const char * | DEFAULT_IP |
Definition at line 16 of file AlertRelay.h.