Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription. More...
#include <publisher_link.h>

Classes | |
| class | Stats |
Public Member Functions | |
| virtual void | drop ()=0 |
| const std::string & | getCallerID () |
| int | getConnectionID () const |
| const std::string & | getMD5Sum () |
| const std::string & | getPublisherXMLRPCURI () |
| const Stats & | getStats () |
| virtual std::string | getTransportInfo ()=0 |
| virtual std::string | getTransportType ()=0 |
| virtual void | handleMessage (const SerializedMessage &m, bool ser, bool nocopy)=0 |
| Handles handing off a received message to the subscription, where it will be deserialized and called back. More... | |
| bool | isLatched () |
| PublisherLink (const SubscriptionPtr &parent, const std::string &xmlrpc_uri, const TransportHints &transport_hints) | |
| bool | setHeader (const Header &header) |
| virtual | ~PublisherLink () |
Protected Attributes | |
| std::string | caller_id_ |
| unsigned int | connection_id_ |
| Header | header_ |
| bool | latched_ |
| std::string | md5sum_ |
| SubscriptionWPtr | parent_ |
| std::string | publisher_xmlrpc_uri_ |
| Stats | stats_ |
| TransportHints | transport_hints_ |
Handles a connection to a single publisher on a given topic. Receives messages from a publisher and hands them off to its parent Subscription.
Definition at line 57 of file publisher_link.h.
| roswrap::PublisherLink::PublisherLink | ( | const SubscriptionPtr & | parent, |
| const std::string & | xmlrpc_uri, | ||
| const TransportHints & | transport_hints | ||
| ) |
|
virtual |
|
pure virtual |
Implemented in roswrap::TransportPublisherLink, and roswrap::IntraProcessPublisherLink.
|
inline |
Definition at line 75 of file publisher_link.h.
|
inline |
Definition at line 74 of file publisher_link.h.
| const std::string& roswrap::PublisherLink::getMD5Sum | ( | ) |
| const std::string& roswrap::PublisherLink::getPublisherXMLRPCURI | ( | ) |
Definition at line 72 of file publisher_link.h.
|
pure virtual |
Implemented in roswrap::TransportPublisherLink, and roswrap::IntraProcessPublisherLink.
|
pure virtual |
Implemented in roswrap::TransportPublisherLink, and roswrap::IntraProcessPublisherLink.
|
pure virtual |
Handles handing off a received message to the subscription, where it will be deserialized and called back.
Implemented in roswrap::TransportPublisherLink, and roswrap::IntraProcessPublisherLink.
|
inline |
Definition at line 76 of file publisher_link.h.
|
protected |
Definition at line 100 of file publisher_link.h.
|
protected |
Definition at line 92 of file publisher_link.h.
|
protected |
Definition at line 101 of file publisher_link.h.
|
protected |
Definition at line 99 of file publisher_link.h.
|
protected |
Definition at line 102 of file publisher_link.h.
|
protected |
Definition at line 91 of file publisher_link.h.
|
protected |
Definition at line 93 of file publisher_link.h.
|
protected |
Definition at line 95 of file publisher_link.h.
|
protected |
Definition at line 97 of file publisher_link.h.