Public Member Functions | Protected Member Functions | Static Protected Attributes
industrial::udp_socket::UdpSocket Class Reference

#include <udp_socket.h>

Inheritance diagram for industrial::udp_socket::UdpSocket:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool receiveMsg (industrial::simple_message::SimpleMessage &message)
 Receives a message using the data connection.
 UdpSocket ()
 ~UdpSocket ()

Protected Member Functions

int rawReceiveBytes (char *buffer, industrial::shared_types::shared_int num_bytes)
int rawSendBytes (char *buffer, industrial::shared_types::shared_int num_bytes)

Static Protected Attributes

static const char CONNECT_HANDSHAKE = 255
 udp socket connect handshake value

Detailed Description

Definition at line 61 of file udp_socket.h.


Constructor & Destructor Documentation

Definition at line 55 of file udp_socket.cpp.

Definition at line 63 of file udp_socket.cpp.


Member Function Documentation

int industrial::udp_socket::UdpSocket::rawReceiveBytes ( char *  buffer,
industrial::shared_types::shared_int  num_bytes 
) [protected, virtual]

Implements industrial::simple_socket::SimpleSocket.

Definition at line 132 of file udp_socket.cpp.

int industrial::udp_socket::UdpSocket::rawSendBytes ( char *  buffer,
industrial::shared_types::shared_int  num_bytes 
) [protected, virtual]

Implements industrial::simple_socket::SimpleSocket.

Definition at line 121 of file udp_socket.cpp.

Receives a message using the data connection.

Parameters:
populatedwith received message
Returns:
true if successful

Reimplemented from industrial::smpl_msg_connection::SmplMsgConnection.

Definition at line 70 of file udp_socket.cpp.


Member Data Documentation

const char industrial::udp_socket::UdpSocket::CONNECT_HANDSHAKE = 255 [static, protected]

udp socket connect handshake value

Definition at line 81 of file udp_socket.h.


The documentation for this class was generated from the following files:


simple_message
Author(s): Shaun Edwards
autogenerated on Mon Oct 6 2014 00:54:18