Made to Order Software Corporation Logo

LLChatLib: LLSDRPCClientFactory< Client > Class Template Reference

LLSDRPCClientFactory< Client > Class Template Reference

Basic implementation for making an SD RPC client factory. More...

#include <llsdrpcclient.h>

Inheritance diagram for LLSDRPCClientFactory< Client >:
Collaboration diagram for LLSDRPCClientFactory< Client >:

List of all members.

Public Member Functions

virtual bool build (LLPumpIO::chain_t &chain, LLSD context) const
 Build the chian with in as the first and end as the last.


Detailed Description

template<class Client>
class LLSDRPCClientFactory< Client >

Basic implementation for making an SD RPC client factory.

This class eases construction of a basic sd rpc client. Here is an example of it's use: class LLUsefulService : public LLService { ... } LLService::registerCreator( "useful", LLService::creator_t(new LLSDRPCClientFactory<LLUsefulService>))


Member Function Documentation

template<class Client >
virtual bool LLSDRPCClientFactory< Client >::build ( LLPumpIO::chain_t chain,
LLSD  context 
) const [inline, virtual]

Build the chian with in as the first and end as the last.

The caller of the LLChainIOFactory is responsible for managing the memory of the in pipe. All of the chains generated by the factory will be ref counted as usual, so the caller will also need to break the links in the chain.

Parameters:
chain The chain which will have new pipes appended
context A context for use by this factory if you choose Returns true if the call was successful.

Implements LLChainIOFactory.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 17:18:45 2010 for LLChatLib by  doxygen 1.6.3