|
commore
1.0.6-SNAPSHOT
|
#include <Service.h>
Inheritance diagram for commore::ProxyService:Public Member Functions | |
| ProxyService (const AChar *class_name, const AChar *name, const AChar *args) | |
| ~ProxyService () | |
| 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 () |
Public Member Functions inherited from commore::Service | |
| 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) |
Public Member Functions inherited from commore::Interface | |
| Interface (const AChar *name) | |
| virtual | ~Interface () |
| 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 |
Public Member Functions inherited from commore::RefObject | |
| RefObject () | |
| virtual | ~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 Public Member Functions inherited from commore::Service | |
| static AutoRefBase | create (const AChar *) |
| static AutoRefBase | create (const AChar *, ServiceFactory &factory) |
| static AutoRefBase | bind (const AChar *spec) |
Static Public Member Functions inherited from commore::RefObject | |
| 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 () |
Protected Member Functions inherited from commore::Service | |
| Service (const AChar *class_name) | |
| Service (const AChar *class_name, const AChar *name, const AChar *address) | |
| Service (const AChar *class_name, const Tuple &init) | |
| ~Service () | |
Protected Member Functions inherited from commore::Interface | |
| bool | set_service (const PService &service) |
| Interface (const Interface &) | |
Protected Attributes inherited from commore::Interface | |
| Internals_ * | internals_ |
Proxy service for client implementation
| ProxyService::~ProxyService | ( | ) |
Basic call method
Default implementation side if no interface name specified
Reimplemented from commore::Service.
|
virtual |
Call method with interface name
Default implementation with interface name
Reimplemented from commore::Service.
|
virtual |
Call method with interface name and param
Reimplemented from commore::Service.
| bool ProxyService::check_connection | ( | ) |
Reserved for proxy
| AString ProxyService::get_address | ( | ) | const |
Get remote service address
|
inlinevirtual |
Reimplemented from commore::Interface.