Alex Bikfalvi
SimStream Documentation
StreamMessagePullBitmapResponse.h
00001 #pragma once 00002 00003 #include "StreamMessagePull.h" 00004 00005 class CStreamMessagePullBitmapResponse : public CStreamMessagePull 00006 { 00007 public: 00008 enum EResponse 00009 { 00010 SUCCESS = 0, 00011 FAIL = 1 00012 }; 00013 enum EPreference 00014 { 00015 PREF_HIGH = 0, 00016 PREF_LOW = 1 00017 }; 00018 00019 private: 00020 __uint32 first; 00021 __uint8 count; 00022 __uint64 bitmap; 00023 __bitrate bw; 00024 __bitrate bwUtil; 00025 00026 EResponse response; 00027 EPreference pref; 00028 00029 public: 00030 CStreamMessagePullBitmapResponse( 00031 __uint32 stream, 00032 __uint32 first, 00033 __uint8 count, 00034 __uint64 bitmap, 00035 __bitrate bw, 00036 __bitrate bwUtil, 00037 EConnection connection, 00038 __uint32 connectionId, 00039 __uint32 connectionIdEntry, 00040 EResponse response, 00041 EPreference pref 00042 ); 00043 virtual ~CStreamMessagePullBitmapResponse(); 00044 00045 virtual CPacket* Copy(); 00046 00047 inline __uint32 First() { return this->first; } 00048 inline __uint8 Count() { return this->count; } 00049 inline __uint64 Bitmap() { return this->bitmap; } 00050 inline __bitrate Bw() { return this->bw; } 00051 inline __bitrate BwUtil() { return this->bwUtil; } 00052 00053 inline EResponse Response() { return this->response; } 00054 inline EPreference Preference() { return this->pref; } 00055 };
Last updated: February 8, 2011