#include <mdcommon.h>

Public Member Functions | |
| mdDGChannel (boost::asio::io_service &io_service, short inport, int stdDevIdx=myStdDevIdx) | |
| void | async_send (mdDatagram &dg) |
| bool | connect_to (std::string &host, std::string &port, int stdDevIdx=-1) |
| bool | connect_to (boost::asio::ip::udp::endpoint &ep, boost::system::error_code &ec, int &step, int stdDevIdx=-1) |
| void | handle_receive_from (const boost::system::error_code &error, size_t bytes_recvd) |
| void | handle_send_to (const boost::system::error_code &asioEC, size_t sentByes) |
| bool | send (mdDatagram &dg) |
| bool | send_to (mdDatagram &dg, int mdStdDevIdx) |
| size_t | send (mdReply &dg, boost::system::error_code &ec) |
| size_t | send_back (mdReply &dg, boost::system::error_code &ec, int &step) |
| bool | send_to (mdReply &dg, int mdStdDevIdx) |
Public Attributes | |
| boost::asio::io_service & | io_service_ |
| boost::asio::ip::udp::endpoint | p_endpoint_ |
| boost::asio::ip::udp::endpoint | a_endpoint_ |
| boost::asio::ip::udp::endpoint * | ep_ |
| boost::asio::ip::udp::resolver * | r |
| boost::asio::ip::udp::resolver::query * | q |
| boost::asio::ip::udp::socket | passive_ |
| boost::asio::ip::udp::socket * | active_ |
| boost::asio::ip::udp::socket * | s_ |
| char | ack_ [sizeof(mdDGReply)] |
| char | data_ [MD_MAX_DATAGRAM] |
| int | mdStdDevIdx |
| mdDatagram * | inProcess |
| mdReply * | reply |
| short | port |
Definition at line 301 of file mdcommon.h.
| mdDGChannel::mdDGChannel | ( | boost::asio::io_service & | io_service, | |
| short | inport, | |||
| int | stdDevIdx = myStdDevIdx | |||
| ) | [inline] |
Definition at line 324 of file mdcommon.h.
| void mdDGChannel::async_send | ( | mdDatagram & | dg | ) | [inline] |
Definition at line 344 of file mdcommon.h.
| bool mdDGChannel::connect_to | ( | std::string & | host, | |
| std::string & | port, | |||
| int | stdDevIdx = -1 | |||
| ) | [inline] |
Definition at line 358 of file mdcommon.h.
| bool mdDGChannel::connect_to | ( | boost::asio::ip::udp::endpoint & | ep, | |
| boost::system::error_code & | ec, | |||
| int & | step, | |||
| int | stdDevIdx = -1 | |||
| ) | [inline] |
Definition at line 388 of file mdcommon.h.
| void mdDGChannel::handle_receive_from | ( | const boost::system::error_code & | error, | |
| size_t | bytes_recvd | |||
| ) |
Definition at line 76 of file clientDaemon.cpp.
| void mdDGChannel::handle_send_to | ( | const boost::system::error_code & | asioEC, | |
| size_t | sentByes | |||
| ) | [inline] |
Definition at line 422 of file mdcommon.h.
| bool mdDGChannel::send | ( | mdDatagram & | dg | ) | [inline] |
Definition at line 443 of file mdcommon.h.
| bool mdDGChannel::send_to | ( | mdDatagram & | dg, | |
| int | mdStdDevIdx | |||
| ) | [inline] |
Definition at line 452 of file mdcommon.h.
| size_t mdDGChannel::send | ( | mdReply & | dg, | |
| boost::system::error_code & | ec | |||
| ) | [inline] |
Definition at line 461 of file mdcommon.h.
| size_t mdDGChannel::send_back | ( | mdReply & | dg, | |
| boost::system::error_code & | ec, | |||
| int & | step | |||
| ) | [inline] |
Definition at line 470 of file mdcommon.h.
| bool mdDGChannel::send_to | ( | mdReply & | dg, | |
| int | mdStdDevIdx | |||
| ) | [inline] |
Definition at line 484 of file mdcommon.h.
| boost::asio::io_service& mdDGChannel::io_service_ |
Definition at line 304 of file mdcommon.h.
| boost::asio::ip::udp::endpoint mdDGChannel::p_endpoint_ |
Definition at line 305 of file mdcommon.h.
| boost::asio::ip::udp::endpoint mdDGChannel::a_endpoint_ |
Definition at line 306 of file mdcommon.h.
| boost::asio::ip::udp::endpoint* mdDGChannel::ep_ |
Definition at line 307 of file mdcommon.h.
| boost::asio::ip::udp::resolver* mdDGChannel::r |
Definition at line 308 of file mdcommon.h.
| boost::asio::ip::udp::resolver::query* mdDGChannel::q |
Definition at line 309 of file mdcommon.h.
Definition at line 310 of file mdcommon.h.
Definition at line 311 of file mdcommon.h.
Definition at line 312 of file mdcommon.h.
| char mdDGChannel::ack_[sizeof(mdDGReply)] |
Definition at line 314 of file mdcommon.h.
| char mdDGChannel::data_[MD_MAX_DATAGRAM] |
Definition at line 315 of file mdcommon.h.
Definition at line 317 of file mdcommon.h.
Definition at line 319 of file mdcommon.h.
Definition at line 320 of file mdcommon.h.
| short mdDGChannel::port |
Definition at line 322 of file mdcommon.h.
1.5.6