$search
#include <Udp.h>

Public Member Functions | |
| virtual void | accept () throw (NetException) |
| virtual void | bind () |
| virtual void | close (const NetAddress &address) throw (NetException) |
| virtual void | close () throw (NetException) |
| virtual void | connect () throw (NetException) |
| virtual bool | enableBroadcast () |
| virtual void | enableBroadcast (bool on) |
| virtual bool | enableLoopback () |
| virtual void | enableLoopback (bool on) |
| virtual NetAddress | getLocalAddress () |
| virtual bool | isOpen () |
| virtual void | joinGroup (const asio::ip::address &address) |
| virtual void | leaveGroup (const asio::ip::address &address) |
| virtual int | multicastHops () |
| virtual void | multicastHops (int hops) |
| virtual void | open (const NetAddress &a) |
| virtual void | open () |
| size_t | receive (char *data, size_t length, NetAddress &remote) |
| size_t | receive (char *data, size_t length) |
| virtual bool | reuseAddress () |
| virtual void | reuseAddress (bool on) |
| void | send (const char *data, size_t length, const NetAddress &remote) |
| void | send (const char *data, size_t length) |
| virtual void | setAsync (bool async) |
| Udp (asio::io_service &service, const NetAddress &a) | |
| virtual | ~Udp () |
Protected Member Functions | |
| void | handleReceive (const asio::error_code &error, size_t count) |
| Udp (asio::io_service &service) | |
Private Attributes | |
| boost::condition | cond |
| asio::ip::udp::endpoint | endpoint |
| NetAddressPtr | localMcastAddress |
| bool | localMcastAddressHack |
| boost::mutex | monitor |
| asio::ip::udp::endpoint | remoteEndpoint |
| asio::ip::udp::socket | socket |
Definition at line 17 of file Udp.h.
| castor::net::channels::Udp::Udp | ( | asio::io_service & | service | ) | [protected] |
| castor::net::channels::Udp::Udp | ( | asio::io_service & | service, | |
| const NetAddress & | a | |||
| ) |
| void castor::net::channels::Udp::accept | ( | ) | throw (NetException) [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::bind | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::close | ( | const NetAddress & | address | ) | throw (NetException) [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::close | ( | ) | throw (NetException) [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::connect | ( | ) | throw (NetException) [virtual] |
Implements castor::net::CastorChannel.
| bool castor::net::channels::Udp::enableBroadcast | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::enableBroadcast | ( | bool | on | ) | [virtual] |
Implements castor::net::CastorChannel.
| bool castor::net::channels::Udp::enableLoopback | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::enableLoopback | ( | bool | on | ) | [virtual] |
Implements castor::net::CastorChannel.
| NetAddress castor::net::channels::Udp::getLocalAddress | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::handleReceive | ( | const asio::error_code & | error, | |
| size_t | count | |||
| ) | [protected] |
| bool castor::net::channels::Udp::isOpen | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::joinGroup | ( | const asio::ip::address & | address | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::leaveGroup | ( | const asio::ip::address & | address | ) | [virtual] |
Implements castor::net::CastorChannel.
| int castor::net::channels::Udp::multicastHops | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::multicastHops | ( | int | hops | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::open | ( | const NetAddress & | a | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::open | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| size_t castor::net::channels::Udp::receive | ( | char * | data, | |
| size_t | length, | |||
| NetAddress & | remote | |||
| ) | [inline, virtual] |
Implements castor::net::CastorChannel.
| size_t castor::net::channels::Udp::receive | ( | char * | data, | |
| size_t | length | |||
| ) | [inline, virtual] |
Implements castor::net::CastorChannel.
| bool castor::net::channels::Udp::reuseAddress | ( | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::reuseAddress | ( | bool | on | ) | [virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::send | ( | const char * | data, | |
| size_t | length, | |||
| const NetAddress & | remote | |||
| ) | [inline, virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::send | ( | const char * | data, | |
| size_t | length | |||
| ) | [inline, virtual] |
Implements castor::net::CastorChannel.
| void castor::net::channels::Udp::setAsync | ( | bool | async | ) | [virtual] |
Implements castor::net::CastorChannel.
boost::condition castor::net::channels::Udp::cond [private] |
bool castor::net::channels::Udp::localMcastAddressHack [private] |
boost::mutex castor::net::channels::Udp::monitor [private] |