#include <llsdrpcclient.h>
Inheritance diagram for LLSDRPCResponse:


| Public Member Functions | |
| LLSDRPCResponse () | |
| virtual | ~LLSDRPCResponse () | 
| bool | extractResponse (const LLSD &sd) | 
| This method extracts the response out of the sd passed in. | |
| Protected Member Functions | |
| virtual bool | response (LLPumpIO *pump)=0 | 
| Method called when the response is ready. | |
| virtual bool | fault (LLPumpIO *pump)=0 | 
| Method called when a fault is generated by the remote server. | |
| virtual bool | error (LLPumpIO *pump)=0 | 
| Method called when there was an error. | |
| virtual EStatus | process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump) | 
| Process the data in buffer. | |
| Protected Attributes | |
| LLSD | mReturnValue | 
| bool | mIsError | 
| bool | mIsFault | 
Definition at line 60 of file llsdrpcclient.h.
| LLSDRPCResponse::LLSDRPCResponse | ( | ) | 
Definition at line 54 of file llsdrpcclient.cpp.
References LLMemType::MTYPE_IO_SD_CLIENT.
| LLSDRPCResponse::~LLSDRPCResponse | ( | ) |  [virtual] | 
| virtual bool LLSDRPCResponse::error | ( | LLPumpIO * | pump | ) |  [protected, pure virtual] | 
Method called when there was an error.
Implemented in tut::rpc_server_data::LLSimpleRPCResponse.
Referenced by process_impl().
| bool LLSDRPCResponse::extractResponse | ( | const LLSD & | sd | ) | 
This method extracts the response out of the sd passed in.
Any appropriate data found in the sd passed in will be extracted and managed by this object - not copied or cloned. It will still be up to the caller to delete the pointer passed in.
| sd | The raw structured data response from the remote server. | 
Definition at line 67 of file llsdrpcclient.cpp.
References LLSD::clear(), LLSDRPC_FAULT_NAME(), LLSDRPC_RESPONSE_NAME(), mIsError, mIsFault, mReturnValue, LLMemType::MTYPE_IO_SD_CLIENT, and tut::sd().
Referenced by LLSDRPCClient::process_impl().
| virtual bool LLSDRPCResponse::fault | ( | LLPumpIO * | pump | ) |  [protected, pure virtual] | 
Method called when a fault is generated by the remote server.
Implemented in tut::rpc_server_data::LLSimpleRPCResponse.
Referenced by process_impl().
| LLIOPipe::EStatus LLSDRPCResponse::process_impl | ( | const LLChannelDescriptors & | channels, | |
| buffer_ptr_t & | buffer, | |||
| bool & | eos, | |||
| LLSD & | context, | |||
| LLPumpIO * | pump | |||
| ) |  [protected, virtual] | 
Process the data in buffer.
Definition at line 91 of file llsdrpcclient.cpp.
References error(), fault(), mIsError, mIsFault, LLMemType::MTYPE_IO_SD_CLIENT, PUMP_DEBUG, response(), and LLIOPipe::STATUS_DONE.
| virtual bool LLSDRPCResponse::response | ( | LLPumpIO * | pump | ) |  [protected, pure virtual] | 
Method called when the response is ready.
Implemented in tut::rpc_server_data::LLSimpleRPCResponse.
Referenced by process_impl().
| bool LLSDRPCResponse::mIsError  [protected] | 
Definition at line 110 of file llsdrpcclient.h.
Referenced by extractResponse(), and process_impl().
| bool LLSDRPCResponse::mIsFault  [protected] | 
Definition at line 111 of file llsdrpcclient.h.
Referenced by extractResponse(), and process_impl().
| LLSD LLSDRPCResponse::mReturnValue  [protected] | 
Definition at line 109 of file llsdrpcclient.h.
Referenced by extractResponse(), tut::rpc_server_data::LLSimpleRPCResponse::fault(), and tut::rpc_server_data::LLSimpleRPCResponse::response().
 1.4.7
 1.4.7