LLHTTPSender Class Reference

#include <llhttpsender.h>

Inheritance diagram for LLHTTPSender:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~LLHTTPSender ()
virtual void send (const LLHost &host, const char *message, const LLSD &body, LLHTTPClient::ResponderPtr response) const
 Send message to host with body, call response when done.

Static Public Member Functions

static void setSender (const LLHost &host, LLHTTPSender *sender)
 Set sender for host, takes ownership of sender.
static const LLHTTPSendergetSender (const LLHost &host)
 Get sender for host, retains ownership of returned sender.
static void clearSender (const LLHost &host)
 Clear sender for host.
static void setDefaultSender (LLHTTPSender *sender)
 Set default sender, takes ownership of sender.

Detailed Description

Definition at line 40 of file llhttpsender.h.


Constructor & Destructor Documentation

LLHTTPSender::~LLHTTPSender (  )  [virtual]

Definition at line 50 of file llhttpsender.cpp.


Member Function Documentation

void LLHTTPSender::clearSender ( const LLHost host  )  [static]

Clear sender for host.

Definition at line 85 of file llhttpsender.cpp.

References senderMap.

Referenced by LLViewerRegion::~LLViewerRegion().

const LLHTTPSender & LLHTTPSender::getSender ( const LLHost host  )  [static]

Get sender for host, retains ownership of returned sender.

Definition at line 74 of file llhttpsender.cpp.

References defaultSender, and senderMap.

Referenced by LLMessageSystem::sendMessage().

void LLHTTPSender::send ( const LLHost host,
const char *  message,
const LLSD body,
LLHTTPClient::ResponderPtr  response 
) const [virtual]

Send message to host with body, call response when done.

Reimplemented in LLCapHTTPSender.

Definition at line 55 of file llhttpsender.cpp.

References llendl, llinfos, and LLHTTPClient::post().

Referenced by LLMessageSystem::sendMessage().

void LLHTTPSender::setDefaultSender ( LLHTTPSender sender  )  [static]

Set default sender, takes ownership of sender.

Definition at line 96 of file llhttpsender.cpp.

References defaultSender.

Referenced by idle_startup().

void LLHTTPSender::setSender ( const LLHost host,
LLHTTPSender sender 
) [static]

Set sender for host, takes ownership of sender.

Definition at line 67 of file llhttpsender.cpp.

References llendl, llinfos, and senderMap.

Referenced by LLViewerRegion::setCapability().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:24 2010 for Second Life Viewer by  doxygen 1.4.7