Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
vsnet_dloadenum.h
Go to the documentation of this file.
1
#ifndef VSNET_DLOADENUM_H
2
#define VSNET_DLOADENUM_H
3
4
#include <config.h>
5
6
#include <iostream>
7
#include "
vsfilesystem.h
"
8
using namespace
VSFileSystem;
9
10
namespace
VsnetDownload
11
{
12
/*------------------------------------------------------------*
13
* declaration VsnetDownload::Subcommand
14
*------------------------------------------------------------*/
15
16
enum
Subcommand
17
{
18
ResolveRequest
,
19
ResolveResponse
,
20
DownloadRequest
,
21
DownloadError
,
22
Download
,
23
DownloadFirstFragment
,
24
DownloadFragment
,
25
DownloadLastFragment
,
26
UnexpectedSubcommand
27
};
28
29
std::ostream&
operator<<
( std::ostream &ostr,
Subcommand
e );
30
31
namespace
Client
32
{
33
class
Manager;
34
35
/*------------------------------------------------------------*
36
* declaration VsnetDownload::Client::State
37
*------------------------------------------------------------*/
38
39
enum
State
40
{
41
Idle
,
42
Queued
,
43
Resolving
,
44
Resolved
,
45
Requested
,
46
FragmentReceived
,
47
Completed
48
};
49
50
std::ostream&
operator<<
( std::ostream &ostr,
State
s );
51
52
std::ostream&
operator<<
( std::ostream &ostr,
VSError
e );
53
};
//namespace Client
54
};
//namespace VsnetDownload
55
56
#endif
/* VSNET_DLOADENUM_H */
57
src
networking
lowlevel
vsnet_dloadenum.h
Generated on Fri May 29 2015 23:07:35 for Vegastrike 0.5.1 rc1 by
1.8.4