$search

industrial::smpl_msg_connection::SmplMsgConnection Class Reference

#include <smpl_msg_connection.h>

Inheritance diagram for industrial::smpl_msg_connection::SmplMsgConnection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool isConnected ()=0
 return connection status
virtual bool makeConnect ()=0
 connects to the remote host
virtual bool receiveMsg (industrial::simple_message::SimpleMessage &message)
bool sendAndReceiveMsg (industrial::simple_message::SimpleMessage &send, industrial::simple_message::SimpleMessage &recv)
virtual bool sendMsg (industrial::simple_message::SimpleMessage &message)

Private Member Functions

virtual bool receiveBytes (industrial::byte_array::ByteArray &buffer, industrial::shared_types::shared_int num_bytes)=0
virtual bool sendBytes (industrial::byte_array::ByteArray &buffer)=0

Detailed Description

Definition at line 57 of file smpl_msg_connection.h.


Member Function Documentation

virtual bool industrial::smpl_msg_connection::SmplMsgConnection::isConnected (  )  [pure virtual]

return connection status

Returns:
true if connected

Implemented in industrial::simple_socket::SimpleSocket.

virtual bool industrial::smpl_msg_connection::SmplMsgConnection::makeConnect (  )  [pure virtual]

connects to the remote host

Returns:
true on success, false otherwise

Implemented in industrial::tcp_client::TcpClient, industrial::tcp_server::TcpServer, industrial::udp_client::UdpClient, and industrial::udp_server::UdpServer.

virtual bool industrial::smpl_msg_connection::SmplMsgConnection::receiveBytes ( industrial::byte_array::ByteArray buffer,
industrial::shared_types::shared_int  num_bytes 
) [private, pure virtual]
bool industrial::smpl_msg_connection::SmplMsgConnection::receiveMsg ( industrial::simple_message::SimpleMessage message  )  [virtual]

Reimplemented in industrial::udp_socket::UdpSocket.

Definition at line 79 of file smpl_msg_connection.cpp.

bool industrial::smpl_msg_connection::SmplMsgConnection::sendAndReceiveMsg ( industrial::simple_message::SimpleMessage send,
industrial::simple_message::SimpleMessage recv 
)

Definition at line 128 of file smpl_msg_connection.cpp.

virtual bool industrial::smpl_msg_connection::SmplMsgConnection::sendBytes ( industrial::byte_array::ByteArray buffer  )  [private, pure virtual]
bool industrial::smpl_msg_connection::SmplMsgConnection::sendMsg ( industrial::simple_message::SimpleMessage message  )  [virtual]

Definition at line 56 of file smpl_msg_connection.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


simple_message
Author(s): Shaun Edwards
autogenerated on Mon Mar 4 11:36:30 2013