Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MPS::Interface Class Reference

Base class which all MPS Interfaces (implementations and proxies) must inherit from. More...

#include <interface.h>

Inheritance diagram for MPS::Interface:

Inheritance graph
[legend]
Collaboration diagram for MPS::Interface:

Collaboration graph
[legend]
List of all members.

Public Methods

 Interface ()
virtual ~Interface ()
InterfaceServer_getInterfaceServer () const
string const& _getRemoteAddress () const

Protected Methods

void _setRemoteAddress (string const &addr)

Private Methods

void _setInterfaceServer (InterfaceServer *s)

Private Attributes

InterfaceServerinterfaceServer
string remoteAddress

Friends

class  InterfaceServer

Detailed Description

Base class which all MPS Interfaces (implementations and proxies) must inherit from.

Definition at line 46 of file interface.h.


Constructor & Destructor Documentation

MPS::Interface::Interface ( ) [inline]
 

Definition at line 70 of file interface.h.

MPS::Interface::~Interface ( ) [inline, virtual]
 

Definition at line 75 of file interface.h.


Member Function Documentation

InterfaceServer * MPS::Interface::_getInterfaceServer ( ) const [inline]
 

Retrieve the server object that is providing access to this instance of Interface, or 0 if this Interface isn't (yet) managed by an InterfaceServer.

Definition at line 81 of file interface.h.

string const & MPS::Interface::_getRemoteAddress ( ) const [inline]
 

Returns the address of the remote object that we are using, or the empty-string if we are not a proxy for some remote object (ie we really do implement this interface locally).

Definition at line 87 of file interface.h.

void MPS::Interface::_setInterfaceServer ( InterfaceServer * s ) [inline, private]
 

Called by InterfaceServer::InterfaceServer. Yes, cleaner solutions do exist.

Definition at line 57 of file interface.h.

void MPS::Interface::_setRemoteAddress ( string const & addr ) [inline, protected]
 

Called by auto-generated subclasses of Proxy, in their constructors. See gencpp.cc.

Definition at line 65 of file interface.h.


Friends And Related Function Documentation

friend class InterfaceServer [friend]
 

Definition at line 54 of file interface.h.


Member Data Documentation

InterfaceServer * MPS::Interface::interfaceServer [private]
 

Server that is presenting bound addresses for this interface.

Definition at line 49 of file interface.h.

string MPS::Interface::remoteAddress [private]
 

If we are a proxy, this holds the bound address of the server we are proxying for.

Definition at line 52 of file interface.h.


The documentation for this class was generated from the following file:
Generated at Wed Aug 15 01:05:30 2001 for mps-cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001