Public Member Functions | Private Member Functions
industrial::tcp_socket::TcpSocket Class Reference

#include <tcp_socket.h>

Inheritance diagram for industrial::tcp_socket::TcpSocket:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TcpSocket ()
virtual ~TcpSocket ()

Private Member Functions

bool rawPoll (int timeout, bool &ready, bool &error)
 polls socket for data or error
int rawReceiveBytes (char *buffer, industrial::shared_types::shared_int num_bytes)
int rawSendBytes (char *buffer, industrial::shared_types::shared_int num_bytes)

Detailed Description

Definition at line 61 of file tcp_socket.h.


Constructor & Destructor Documentation

Definition at line 54 of file tcp_socket.cpp.

Definition at line 58 of file tcp_socket.cpp.


Member Function Documentation

bool industrial::tcp_socket::TcpSocket::rawPoll ( int  timeout,
bool &  ready,
bool &  error 
) [private, virtual]

polls socket for data or error

Parameters:
timeout(ms) negative or zero values result in blocking
readytrue if ready
excepttrue if exception
Returns:
true if function DID NOT timeout (must check flags)

Implements industrial::simple_socket::SimpleSocket.

Definition at line 83 of file tcp_socket.cpp.

int industrial::tcp_socket::TcpSocket::rawReceiveBytes ( char *  buffer,
industrial::shared_types::shared_int  num_bytes 
) [private, virtual]

Implements industrial::simple_socket::SimpleSocket.

Definition at line 74 of file tcp_socket.cpp.

int industrial::tcp_socket::TcpSocket::rawSendBytes ( char *  buffer,
industrial::shared_types::shared_int  num_bytes 
) [private, virtual]

Implements industrial::simple_socket::SimpleSocket.

Definition at line 65 of file tcp_socket.cpp.


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


simple_message
Author(s): Shaun Edwards
autogenerated on Tue Jan 17 2017 21:10:02