Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <vsnet_notify.h>
Public Member Functions | |
TestItem (SOCKETALT sock, const std::string &filename) | |
virtual | ~TestItem () |
![]() | |
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 |
![]() | |
NotifyMe () | |
virtual | ~NotifyMe () |
virtual void | notify (State s, VSError e) |
virtual void | setTotalBytes (int sz) |
virtual void | addBytes (int sz) |
bool | done () const |
bool | ok () const |
int | total () const |
int | offset () const |
Protected Member Functions | |
virtual void | childSetSize (int len) |
virtual void | childAppend (unsigned char *buffer, int bufsize) |
![]() | |
void | protected_replace_notifier (NotifyPtr ptr) |
Additional Inherited Members | |
![]() | |
VSFileSystem::VSFileType | _filetype |
Definition at line 337 of file vsnet_notify.h.
VsnetDownload::Client::TestItem::TestItem | ( | SOCKETALT | sock, |
const std::string & | filename | ||
) |
|
inlinevirtual |
Definition at line 342 of file vsnet_notify.h.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |