commore
1.0.6-SNAPSHOT
|
#include <Service.h>
Public Member Functions | |
ProxyService (const AChar *class_name, const AChar *name, const AChar *args) | |
bool | is_proxy () const |
virtual long | call (const Tuple &inArgs, Tuple &outArgs) |
virtual long | call (const AChar *interface_name, const Tuple &inArgs, Tuple &outArgs) |
virtual long | call (const AChar *interface_name, const Tuple &inArgs, Tuple &outArgs, const Tuple *param) |
AString | get_address () const |
bool | check_connection () |
![]() | |
ListAString & | get_addresses (ListAString &addresses) const |
AString | get_address () const |
PService | get_service () |
const AString & | get_name () const |
void | set_name (const AChar *name) |
const AString & | get_class_name () const |
virtual long | connect (const AChar *user_name, const AChar *password) |
AString | get_session_id () const |
void | set_session_id (const AChar *session_id) |
Tuple * | get_session_context_ptr (bool createIfNeeded=false) |
virtual bool | get_session_context (Tuple &t) |
virtual void | set_session_context (const Tuple &sessionContext) |
virtual bool | get_self_session_context (Tuple &t) const |
virtual void | set_self_session_context () |
long | publish (PServiceManager &manager) |
long | unpublish (PServiceManager &manager) |
long | unpublish () |
long | get_managers (List< PServiceManager > &managers) const |
long | call (Tuple &sessionContext, const AChar *interface_name, const Tuple &inArgs, Tuple &outArgs) |
long | get_interface (const AChar *name, PInterface &inter) |
bool | add_interface (const PInterface &inter) |
![]() | |
Interface (const AChar *name) | |
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 |
![]() | |
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 () |
Additional Inherited Members | |
![]() | |
static AutoRefBase | create (const AChar *) |
static AutoRefBase | create (const AChar *, ServiceFactory &factory) |
static AutoRefBase | bind (const AChar *spec) |
![]() | |
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 () |
![]() | |
Service (const AChar *class_name) | |
Service (const AChar *class_name, const AChar *name, const AChar *address) | |
Service (const AChar *class_name, const Tuple &init) | |
![]() | |
bool | set_service (const PService &service) |
Interface (const Interface &) | |
![]() | |
Internals_ * | internals_ |
Proxy service for client implementation
Basic call method
Reimplemented from commore::Service.
|
virtual |
Call method with interface name
Reimplemented from commore::Service.
|
virtual |
Call method with interface name and param
Reimplemented from commore::Service.
bool commore::ProxyService::check_connection | ( | ) |
Reserved for proxy
AString commore::ProxyService::get_address | ( | ) | const |
Get remote service address
|
inlinevirtual |
Reimplemented from commore::Interface.