HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SendfileOp Struct Reference

#include <UT_BoostAsioExt.h>

Public Member Functions

 UT_SendfileOp (ASIO_TCPSocket &socket, int fd, off_t offset, std::size_t size)
 
template<typename Self >
void operator() (Self &self, hboost::system::error_code ec=hboost::system::error_code(), std::size_t bytes_transfered=0)
 

Public Attributes

ASIO_TCPSocketmySocket
 
int myFD
 
off_t myOffset
 
std::size_t mySize
 
std::size_t myBytesTransferred
 

Detailed Description

Definition at line 48 of file UT_BoostAsioExt.h.

Constructor & Destructor Documentation

UT_SendfileOp::UT_SendfileOp ( ASIO_TCPSocket socket,
int  fd,
off_t  offset,
std::size_t  size 
)
inline

Definition at line 53 of file UT_BoostAsioExt.h.

Member Function Documentation

template<typename Self >
void UT_SendfileOp::operator() ( Self &  self,
hboost::system::error_code  ec = hboost::system::error_code(),
std::size_t  bytes_transfered = 0 
)
inline

Definition at line 63 of file UT_BoostAsioExt.h.

Member Data Documentation

std::size_t UT_SendfileOp::myBytesTransferred

Definition at line 139 of file UT_BoostAsioExt.h.

int UT_SendfileOp::myFD

Definition at line 136 of file UT_BoostAsioExt.h.

off_t UT_SendfileOp::myOffset

Definition at line 137 of file UT_BoostAsioExt.h.

std::size_t UT_SendfileOp::mySize

Definition at line 138 of file UT_BoostAsioExt.h.

ASIO_TCPSocket& UT_SendfileOp::mySocket

Definition at line 135 of file UT_BoostAsioExt.h.


The documentation for this struct was generated from the following file: