commore
1.0.6-SNAPSHOT
|
#include <Interface.h>
Public Member Functions | |
Interface (const AChar *name) | |
virtual bool | is_proxy () const |
virtual long | call (const Tuple &in_args, Tuple &out_args) |
virtual long | call (const Tuple &in_args, Tuple &out_args, const Tuple *param) |
const AString & | get_name () const |
virtual PService | get_service () const |
CriticalSection * | get_cs () const |
virtual bool | get_session_context (Tuple &t) |
virtual void | set_session_context (const Tuple &session_context) |
virtual bool | get_self_session_context (Tuple &t) const |
virtual void | set_self_session_context () |
![]() | |
RefObject () | |
virtual void | attach () |
virtual void | release () |
virtual void | nested_attach () |
virtual void | nested_release () |
virtual void | interface_release () |
virtual void | Run () |
virtual CriticalSection * | get_cs () |
Protected Member Functions | |
bool | set_service (const PService &service) |
Interface (const Interface &) | |
Protected Attributes | |
Internals_ * | internals_ |
Friends | |
class | Service |
Additional Inherited Members | |
![]() | |
static AutoRefBase | auto_create () |
static AutoRefBase | auto_create (const AChar *s) |
static AutoRefBase | create () |
static AutoRefBase | create (const AChar *s) |
static AutoRefBase | bind () |
static AutoRefBase | bind (const AChar *s) |
static const AChar * | factory_name () |
An Interface is the equivalent of an implemented interface of a specific object, in an oo system. That is, it gives access to a subset of an object's implemented methods, those defined by the implemented interface. The list of interfaces is for the use of Service class.
commore::Interface::Interface | ( | const AChar * | name | ) |
name | of interface |
Base call method
in_args | |
out_args |
Reimplemented in commore::ProxyService, commore::Service, and commore::ProxyInterface.
CriticalSection* commore::Interface::get_cs | ( | ) | const |
const AString& commore::Interface::get_name | ( | ) | const |
|
virtual |
Manage self session (needed for direct access to impl. note: these function work for Interface and Service they are needed ONLY on server side, when doing direct calls to another service, while executing a call()
Reimplemented in commore::Service.
|
virtual |
|
inlinevirtual |
Reimplemented in commore::ProxyService, and commore::ProxyInterface.