TwiceAsNice
2019-02-18
|
This class communicates with a BCU. More...
#include <UdpConnectionImpl.h>
Static Private Member Functions | |
static std::string | buildErrnoMessage (int errnoCopy) |
static std::string | buildErrnoMessage (int errnoCopy) |
static std::string | buildErrnoMessage (int errnoCopy) |
Private Attributes | |
bool | initialized_ |
struct sockaddr_in | remoteAddr_ |
int | socketFd_ |
std::string | ipv4Address_ |
uint16_t | bcuPort_ |
uint16_t | localPort_ |
unsigned | timeoutInMilliseconds_ |
bool | hasReceiveBufferSize_ |
unsigned | receiveBufferSizeInByte_ |
BcuReplyPtr | latestReceivedBcuReply_ |
Static Private Attributes | |
static const int | MAX_MGP_PACKET_SIZE = 4046 |
This class communicates with a BCU.
Basda::Microgate::UdpConnectionImpl::UdpConnectionImpl | ( | const std::string & | bcuIpAddress, |
uint16_t | bcuPort, | ||
uint16_t | localPort | ||
) |
bcuIpAddress | the IPv4 address of the BCU |
bcuPort | the UDP port of the BCU |
localPort | the local UDP port |
|
virtual |
Basda::Microgate::UdpConnectionImpl::UdpConnectionImpl | ( | const std::string & | bcuIpAddress, |
uint16_t | bcuPort, | ||
uint16_t | localPort | ||
) |
bcuIpAddress | the IPv4 address of the BCU |
bcuPort | the UDP port of the BCU |
localPort | the local UDP port |
|
virtual |
Basda::Microgate::UdpConnectionImpl::UdpConnectionImpl | ( | const std::string & | bcuIpAddress, |
uint16_t | bcuPort, | ||
uint16_t | localPort | ||
) |
bcuIpAddress | the IPv4 address of the BCU |
bcuPort | the UDP port of the BCU |
localPort | the local UDP port |
|
virtual |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void Basda::Microgate::UdpConnectionImpl::initialize | ( | ) |
void Basda::Microgate::UdpConnectionImpl::initialize | ( | ) |
void Basda::Microgate::UdpConnectionImpl::initialize | ( | ) |
|
private |
|
private |
|
private |
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
BcuReplyPtr Basda::Microgate::UdpConnectionImpl::receiveBcuReplyWithMessageId | ( | uint8_t | expectedMessageId | ) |
BcuReplyPtr Basda::Microgate::UdpConnectionImpl::receiveBcuReplyWithMessageId | ( | uint8_t | expectedMessageId | ) |
BcuReplyPtr Basda::Microgate::UdpConnectionImpl::receiveBcuReplyWithMessageId | ( | uint8_t | expectedMessageId | ) |
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
private |
|
private |
|
private |
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
|
virtual |
Implements Basda::Microgate::UdpConnection.
void Basda::Microgate::UdpConnectionImpl::setReceiveBufferSize | ( | unsigned | bufferSizeInByte | ) |
void Basda::Microgate::UdpConnectionImpl::setReceiveBufferSize | ( | unsigned | bufferSizeInByte | ) |
void Basda::Microgate::UdpConnectionImpl::setReceiveBufferSize | ( | unsigned | bufferSizeInByte | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void Basda::Microgate::UdpConnectionImpl::setTimeoutInMilliseconds | ( | unsigned | timeout | ) |
timeout | 0 disables timeout |
void Basda::Microgate::UdpConnectionImpl::setTimeoutInMilliseconds | ( | unsigned | timeout | ) |
timeout | 0 disables timeout |
void Basda::Microgate::UdpConnectionImpl::setTimeoutInMilliseconds | ( | unsigned | timeout | ) |
timeout | 0 disables timeout |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |