Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <vsnet_notify.h>
Public Member Functions | |
NoteFile (SOCKETALT sock, const std::string &filename, VSFileSystem::VSFileType ft, std::string localbasepath) | |
NoteFile (SOCKETALT sock, const std::string &filename, VSFileSystem::VSFileType ft) | |
NoteFile (const std::string &destfile, SOCKETALT sock, const std::string &filename, VSFileSystem::VSFileType ft) | |
virtual | ~NoteFile () |
bool | done () const |
bool | ok () const |
int | total () const |
int | offset () const |
![]() | |
File (SOCKETALT sock, const std::string &filename, std::string localbasepath, VSFileSystem::VSFileType ft, NotifyPtr notify=NotifyPtr()) | |
File (const std::string &destfile, SOCKETALT sock, const std::string &filename, std::string localbasepath, VSFileSystem::VSFileType ft, NotifyPtr notify=NotifyPtr()) | |
virtual | ~File () |
![]() | |
Item (SOCKETALT sock, const std::string &filename, VSFileSystem::VSFileType=VSFileSystem::UnknownFile, NotifyPtr notify=NotifyPtr()) | |
virtual | ~Item () |
State | state () const |
VSError | error () const |
void | changeState (State s) |
void | changeState (State s, VSError e) |
void | setFileType (VSFileSystem::VSFileType ft) |
VSFileSystem::VSFileType | getFileType () |
void | setSize (int len) |
void | append (unsigned char *buffer, int bufsize) |
const std::string & | getFilename () const |
SOCKETALT | getSock () const |
int | get_fd () const |
Additional Inherited Members | |
![]() | |
virtual void | childSetSize (int len) |
virtual void | childAppend (unsigned char *buffer, int bufsize) |
![]() | |
VSFileSystem::VSFileType | _filetype |
Definition at line 242 of file vsnet_notify.h.
VsnetDownload::Client::NoteFile::NoteFile | ( | SOCKETALT | sock, |
const std::string & | filename, | ||
VSFileSystem::VSFileType | ft, | ||
std::string | localbasepath | ||
) |
Definition at line 205 of file vsnet_notify.cpp.
References VsnetDownload::Client::Item::protected_replace_notifier().
VsnetDownload::Client::NoteFile::NoteFile | ( | SOCKETALT | sock, |
const std::string & | filename, | ||
VSFileSystem::VSFileType | ft | ||
) |
Definition at line 212 of file vsnet_notify.cpp.
References VsnetDownload::Client::Item::protected_replace_notifier().
VsnetDownload::Client::NoteFile::NoteFile | ( | const std::string & | destfile, |
SOCKETALT | sock, | ||
const std::string & | filename, | ||
VSFileSystem::VSFileType | ft | ||
) |
Definition at line 219 of file vsnet_notify.cpp.
References VsnetDownload::Client::Item::protected_replace_notifier().
|
virtual |
Definition at line 226 of file vsnet_notify.cpp.
|
inline |
Definition at line 258 of file vsnet_notify.h.
References VsnetDownload::Client::NotifyMe::done().
Referenced by NetClient::loginAccept().
|
inline |
Definition at line 273 of file vsnet_notify.h.
References VsnetDownload::Client::NotifyMe::offset().
|
inline |
Definition at line 263 of file vsnet_notify.h.
References VsnetDownload::Client::NotifyMe::ok().
|
inline |
Definition at line 268 of file vsnet_notify.h.
References VsnetDownload::Client::NotifyMe::total().