Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <vsnet_dloadmgr.h>
Public Member Functions | |
DownloadItemBuf (SOCKETALT sock, const std::string &file, const char *buf, size_t sz) | |
virtual | ~DownloadItemBuf () |
virtual size_t | offset () const |
virtual size_t | remainingSize () const |
virtual void | copyFromFile (unsigned char *buf, size_t sz) |
![]() | |
DownloadItem (SOCKETALT sock, bool error, const std::string &file) | |
virtual | ~DownloadItem () |
SOCKETALT | getSock () const |
bool | error () const |
std::string | file () const |
Definition at line 154 of file vsnet_dloadmgr.h.
VsnetDownload::Server::DownloadItemBuf::DownloadItemBuf | ( | SOCKETALT | sock, |
const std::string & | file, | ||
const char * | buf, | ||
size_t | sz | ||
) |
|
virtual |
Definition at line 451 of file vsnet_dloadmgr.cpp.
|
virtual |
Implements VsnetDownload::Server::DownloadItem.
Definition at line 466 of file vsnet_dloadmgr.cpp.
References VsnetOSS::memcpy(), and remainingSize().
|
virtual |
Implements VsnetDownload::Server::DownloadItem.
Definition at line 456 of file vsnet_dloadmgr.cpp.
|
virtual |
Implements VsnetDownload::Server::DownloadItem.
Definition at line 461 of file vsnet_dloadmgr.cpp.
Referenced by copyFromFile().