|
| CRPCClient (const string &service=kEmptyStr) |
|
| CRPCClient (const string &service, ESerialDataFormat format) |
|
| CRPCClient (const string &service, ESerialDataFormat format, unsigned int try_limit) |
|
virtual | ~CRPCClient (void) |
|
virtual void | Ask (const TRequest &request, TReply &reply) |
|
virtual void | WriteRequest (CObjectOStream &out, const TRequest &request) |
|
virtual void | ReadReply (CObjectIStream &in, TReply &reply) |
|
EIO_Status | SetTimeout (const STimeout *timeout, EIO_Event direction=eIO_ReadWrite) |
|
const STimeout * | GetTimeout (EIO_Event direction=eIO_Read) const |
|
EIO_Status | AsyncConnect (void *handle_buf, size_t handle_size) |
|
| CObject (void) |
| Constructor. More...
|
|
| CObject (const CObject &src) |
| Copy constructor. More...
|
|
virtual | ~CObject (void) |
| Destructor. More...
|
|
CObject & | operator= (const CObject &src) THROWS_NONE |
| Assignment operator. More...
|
|
bool | CanBeDeleted (void) const THROWS_NONE |
| Check if object can be deleted. More...
|
|
bool | IsAllocatedInPool (void) const THROWS_NONE |
| Check if object is allocated in memory pool (not system heap) More...
|
|
bool | Referenced (void) const THROWS_NONE |
| Check if object is referenced. More...
|
|
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
| Check if object is referenced only once. More...
|
|
void | AddReference (void) const |
| Add reference to object. More...
|
|
void | RemoveReference (void) const |
| Remove reference to object. More...
|
|
void | ReleaseReference (void) const |
| Remove reference without deleting object. More...
|
|
virtual void | DoNotDeleteThisObject (void) |
| Mark this object as not allocated in heap – do not delete this object. More...
|
|
virtual void | DoDeleteThisObject (void) |
| Mark this object as allocated in heap – object can be deleted. More...
|
|
void * | operator new (size_t size) |
| Define new operator for memory allocation. More...
|
|
void * | operator new[] (size_t size) |
| Define new[] operator for 'array' memory allocation. More...
|
|
void | operator delete (void *ptr) |
| Define delete operator for memory deallocation. More...
|
|
void | operator delete[] (void *ptr) |
| Define delete[] operator for memory deallocation. More...
|
|
void * | operator new (size_t size, void *place) |
| Define new operator. More...
|
|
void | operator delete (void *ptr, void *place) |
| Define delete operator. More...
|
|
void * | operator new (size_t size, CObjectMemoryPool *place) |
| Define new operator using memory pool. More...
|
|
void | operator delete (void *ptr, CObjectMemoryPool *place) |
| Define delete operator. More...
|
|
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
| Define method for dumping debug information. More...
|
|
| CDebugDumpable (void) |
|
virtual | ~CDebugDumpable (void) |
|
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
|
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
|
void | DumpToConsole (void) const |
|
| CRPCClient_Base (const string &service, ESerialDataFormat format) |
|
| CRPCClient_Base (const string &service, ESerialDataFormat format, unsigned int try_limit) |
|
virtual | ~CRPCClient_Base (void) |
|
void | Connect (void) |
|
void | Disconnect (void) |
|
void | Reset (void) |
|
void | SetArgs (const string &args) |
| Set additional connection arguments. More...
|
|
void | SetArgs (const CUrlArgs &args) |
|
const string & | GetArgs (void) const |
| Get additional connection arguments. More...
|
|
const string & | GetService (void) const |
|
void | SetService (const string &service) |
|
ESerialDataFormat | GetFormat (void) const |
|
void | SetFormat (ESerialDataFormat fmt) |
|
unsigned int | GetTryLimit (void) const |
| Get number of request attempts. More...
|
|
void | SetTryLimit (unsigned int n) |
|
unsigned int | GetRetryLimit (void) const |
|
void | SetRetryLimit (unsigned int n) |
|
const CTimeSpan | GetRetryDelay (void) const |
| Get retry delay. More...
|
|
void | SetRetryDelay (const CTimeSpan &ts) |
|
void | SetCanceledCallback (const ICanceled *canceled) |
| Set request canceler. More...
|
|
bool | IsCanceled (void) const |
|
template<class TRequest, class TReply>
class CRPCClient< TRequest, TReply >
CRPCClient – prototype client for ASN.1/XML-based RPC.
Normally connects automatically on the first real request and disconnects automatically in the destructor, but allows both events to occur explicitly.
Definition at line 60 of file rpcbase.hpp.