#include <UdpClient.h>
|
bool | Create () |
|
void | Destroy () |
|
void | OnStartup () override |
|
void | Process () override |
|
bool | Broadcast (int aPort, const std::string &aMessage) |
|
bool | Send (const std::string &aIpAddress, int aPort, const std::string &aMessage) |
|
bool | Send (struct sockaddr_in aAddress, const std::string &aMessage) |
|
bool | Send (struct sockaddr_in aAddress, unsigned char *pMessage, DWORD dwSize) |
|
virtual void | OnMessage (struct sockaddr_in &aRemoteAddress, const std::string &aMessage, unsigned char *pMessage, DWORD dwMessageLength) |
|
bool | DispatchNextCommand () |
|
◆ COMMANDITERATOR
◆ CUdpClient()
CUdpClient::CUdpClient |
( |
void |
| ) |
|
◆ ~CUdpClient()
CUdpClient::~CUdpClient |
( |
void |
| ) |
|
|
overridedefault |
◆ Broadcast()
bool CUdpClient::Broadcast |
( |
int |
aPort, |
|
|
const std::string & |
aMessage |
|
) |
| |
|
protected |
◆ Create()
bool CUdpClient::Create |
( |
void |
| ) |
|
|
protected |
◆ Destroy()
void CUdpClient::Destroy |
( |
| ) |
|
|
protected |
◆ DispatchNextCommand()
bool CUdpClient::DispatchNextCommand |
( |
| ) |
|
|
protected |
◆ OnMessage()
virtual void CUdpClient::OnMessage |
( |
struct sockaddr_in & |
aRemoteAddress, |
|
|
const std::string & |
aMessage, |
|
|
unsigned char * |
pMessage, |
|
|
DWORD |
dwMessageLength |
|
) |
| |
|
inlineprotectedvirtual |
◆ OnStartup()
void CUdpClient::OnStartup |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ Process()
◆ Send() [1/3]
bool CUdpClient::Send |
( |
const std::string & |
aIpAddress, |
|
|
int |
aPort, |
|
|
const std::string & |
aMessage |
|
) |
| |
|
protected |
◆ Send() [2/3]
bool CUdpClient::Send |
( |
struct sockaddr_in |
aAddress, |
|
|
const std::string & |
aMessage |
|
) |
| |
|
protected |
◆ Send() [3/3]
bool CUdpClient::Send |
( |
struct sockaddr_in |
aAddress, |
|
|
unsigned char * |
pMessage, |
|
|
DWORD |
dwSize |
|
) |
| |
|
protected |
◆ client_socket
SOCKET CUdpClient::client_socket |
|
protected |
◆ commands
◆ critical_section
The documentation for this class was generated from the following files: