|
Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
Base connection context for ORB message exchange. More...
#include <aida.hh>
Inherited by Rapicorn::Aida::ClientConnection, and Rapicorn::Aida::ServerConnection.
Public Member Functions | |
| uint | connection_id () const |
| Get unique conneciton ID (returns 0 if unregistered). | |
| virtual int | notify_fd ()=0 |
| Returns fd for POLLIN, to wake up on incomming events. | |
| virtual bool | pending ()=0 |
| Indicate whether any incoming events are pending that need to be dispatched. | |
| virtual void | dispatch ()=0 |
| Dispatch a single event if any is pending. | |
| virtual void | remote_origin (ImplicitBase *rorigin) |
| Provide initial handle for remote connections. | |
| virtual SmartHandle | remote_origin (const vector< std::string > &feature_key_list) |
| Retrieve initial handle after remote connection has been established. | |
Protected Member Functions | |
| void | register_connection () |
| void | unregister_connection () |
| BaseConnection (const std::string &feature_keys) | |
| virtual void | send_msg (FieldBuffer *)=0 |
| Carry out a remote call syncronously, transfers memory. | |
Static Protected Member Functions | |
| static BaseConnection * | connection_from_id (uint id) |
| Lookup for connection, used by ORB for message delivery. | |
Base connection context for ORB message exchange.
| SmartHandle Rapicorn::Aida::BaseConnection::remote_origin | ( | const vector< std::string > & | feature_key_list | ) | [virtual] |
Retrieve initial handle after remote connection has been established.
The feature_key_list contains key=value pairs, where value is assumed to be "1" if omitted and generally treated as a regular expression to match against connection feature keys as registered with the ObjectBroker.
1.7.6.1