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

#include <NET_BoostAsioExt.h>

Public Member Functions

 NET_SendfileOp (NET_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

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

Detailed Description

Definition at line 48 of file NET_BoostAsioExt.h.

Constructor & Destructor Documentation

NET_SendfileOp::NET_SendfileOp ( NET_TCPSocket socket,
int  fd,
off_t  offset,
std::size_t  size 
)
inline

Definition at line 53 of file NET_BoostAsioExt.h.

Member Function Documentation

template<typename Self >
void NET_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 NET_BoostAsioExt.h.

Member Data Documentation

std::size_t NET_SendfileOp::myBytesTransferred

Definition at line 139 of file NET_BoostAsioExt.h.

int NET_SendfileOp::myFD

Definition at line 136 of file NET_BoostAsioExt.h.

off_t NET_SendfileOp::myOffset

Definition at line 137 of file NET_BoostAsioExt.h.

std::size_t NET_SendfileOp::mySize

Definition at line 138 of file NET_BoostAsioExt.h.

NET_TCPSocket& NET_SendfileOp::mySocket

Definition at line 135 of file NET_BoostAsioExt.h.


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