Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions | Static Protected Member Functions
Rapicorn::Aida::BaseConnection Class Reference

Base connection context for ORB message exchange. More...

#include <aida.hh>

Inherited by Rapicorn::Aida::ClientConnection, and Rapicorn::Aida::ServerConnection.

List of all members.

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 BaseConnectionconnection_from_id (uint id)
 Lookup for connection, used by ORB for message delivery.

Detailed Description

Base connection context for ORB message exchange.


Member Function Documentation

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.


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