0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hyperspace::ResponseCallbackAttrList Class Reference

#include <ResponseCallbackAttrList.h>

Inheritance diagram for Hyperspace::ResponseCallbackAttrList:
Inheritance graph
[legend]
Collaboration diagram for Hyperspace::ResponseCallbackAttrList:
Collaboration graph
[legend]

Public Member Functions

 ResponseCallbackAttrList (Hypertable::Comm *comm, Hypertable::EventPtr &event_ptr)
 
int response (const vector< string > &attributes)
 
- Public Member Functions inherited from Hypertable::ResponseCallback
 ResponseCallback (Comm *comm, EventPtr &event)
 Constructor. More...
 
 ResponseCallback ()
 Default constructor. More...
 
virtual ~ResponseCallback ()
 Destructor. More...
 
virtual int error (int error, const String &msg)
 Sends a standard error response back to the client. More...
 
virtual int response_ok ()
 Sends a a simple success response back to the client which is just the 4-byte error code Error::OK. More...
 
void get_address (struct sockaddr_in &addr)
 Gets the remote address of the requesting client. More...
 
const InetAddr get_address () const
 Gets the remote address of the requesting client. More...
 
EventPtrevent ()
 Get smart pointer to event object that triggered the request. More...
 

Additional Inherited Members

- Protected Attributes inherited from Hypertable::ResponseCallback
Commm_comm
 Comm pointer. More...
 
EventPtr m_event
 Smart pointer to event object. More...
 

Detailed Description

Definition at line 37 of file ResponseCallbackAttrList.h.

Constructor & Destructor Documentation

Hyperspace::ResponseCallbackAttrList::ResponseCallbackAttrList ( Hypertable::Comm comm,
Hypertable::EventPtr event_ptr 
)
inline

Definition at line 39 of file ResponseCallbackAttrList.h.

Member Function Documentation

int ResponseCallbackAttrList::response ( const vector< string > &  attributes)

Definition at line 37 of file ResponseCallbackAttrList.cc.


The documentation for this class was generated from the following files: