#include <lliosocket.h>


Public Member Functions | |
| LLIOSocketWriter (LLSocket::ptr_t socket) | |
| ~LLIOSocketWriter () | |
Protected Member Functions | |
| virtual EStatus | process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump) |
| Write the data in buffer to the socket. | |
Protected Attributes | |
| LLSocket::ptr_t | mDestination |
| U8 * | mLastWritten |
| bool | mInitialized |
Definition at line 241 of file lliosocket.h.
| LLIOSocketWriter::LLIOSocketWriter | ( | LLSocket::ptr_t | socket | ) |
| LLIOSocketWriter::~LLIOSocketWriter | ( | ) |
| LLIOPipe::EStatus LLIOSocketWriter::process_impl | ( | const LLChannelDescriptors & | channels, | |
| buffer_ptr_t & | buffer, | |||
| bool & | eos, | |||
| LLSD & | context, | |||
| LLPumpIO * | pump | |||
| ) | [protected, virtual] |
Write the data in buffer to the socket.
Since the socket pipe must exist for process to make any sense, this method will return STATUS_PRECONDITION_NOT_MET if it is not known.
| buffer | Pointer to a buffer which needs processing. | |
| bytes | Number of bytes to in buffer to process. | |
| eos | True if this function is the last. | |
| read | Number of bytes actually processed. | |
| pump | The pump which is calling process. May be NULL. | |
| context | A data structure to pass structured data |
Definition at line 391 of file lliosocket.cpp.
References LLSegment::data(), LLChannelDescriptors::in(), ll_apr_warn_status(), lldebugs, llendl, mDestination, mInitialized, mLastWritten, LLMemType::MTYPE_IO_TCP, NULL, PUMP_DEBUG, S32, LLPumpIO::setConditional(), LLSegment::size(), indra::ipc::saranwrap::status(), LLIOPipe::STATUS_DONE, LLIOPipe::STATUS_OK, and LLIOPipe::STATUS_PRECONDITION_NOT_MET.

LLSocket::ptr_t LLIOSocketWriter::mDestination [protected] |
U8* LLIOSocketWriter::mLastWritten [protected] |
bool LLIOSocketWriter::mInitialized [protected] |
1.5.5