Alex Bikfalvi
SimStream Documentation
StreamMessagePullBitmapResponse.cpp
00001 #include "Headers.h" 00002 #include "StreamMessagePullBitmapResponse.h" 00003 00004 CStreamMessagePullBitmapResponse::CStreamMessagePullBitmapResponse( 00005 __uint32 stream, 00006 __uint32 first, 00007 __uint8 count, 00008 __uint64 bitmap, 00009 __bitrate bw, 00010 __bitrate bwUtil, 00011 EConnection connection, 00012 __uint32 connectionId, 00013 __uint32 connectionIdEntry, 00014 EResponse response, 00015 EPreference pref 00016 ) : CStreamMessagePull(STREAM_MESSAGE_PULL_BITMAP_RESPONSE, 240, stream, connection, connectionId, connectionIdEntry) 00017 { 00018 assert(count <= 64); 00019 00020 this->first = first; 00021 this->count = count; 00022 this->bitmap = bitmap; 00023 this->bw = bw; 00024 this->bwUtil = bwUtil; 00025 this->response = response; 00026 this->pref = pref; 00027 } 00028 00029 CStreamMessagePullBitmapResponse::~CStreamMessagePullBitmapResponse() 00030 { 00031 } 00032 00033 CPacket* CStreamMessagePullBitmapResponse::Copy() 00034 { 00035 return new CStreamMessagePullBitmapResponse( 00036 this->stream, 00037 this->first, 00038 this->count, 00039 this->bitmap, 00040 this->bw, 00041 this->bwUtil, 00042 this->connection, 00043 this->connectionId, 00044 this->connectionIdEntry, 00045 this->response, 00046 this->pref 00047 ); 00048 }
Last updated: February 8, 2011