Alex Bikfalvi
SimStream Documentation
StreamMessagePullSegmentRequest.cpp
00001 #include "Headers.h" 00002 #include "StreamMessagePullSegmentRequest.h" 00003 00004 CStreamMessagePullSegmentRequest::CStreamMessagePullSegmentRequest( 00005 __uint32 stream, 00006 __uint32 srcId, 00007 __uint32 srcIdEntry, 00008 __uint32 dstId, 00009 __uint32 dstIdEntry, 00010 __uint32 first, 00011 __uint8 count, 00012 __uint64 bitmap 00013 ) : CStreamMessage(STREAM_MESSAGE_PULL_SEGMENT_REQUEST, 232, stream) 00014 { 00015 assert(count <= 64); 00016 00017 this->srcId = srcId; 00018 this->srcIdEntry = srcIdEntry; 00019 this->dstId = dstId; 00020 this->dstIdEntry = dstIdEntry; 00021 00022 this->first = first; 00023 this->count = count; 00024 this->bitmap = bitmap; 00025 } 00026 00027 CPacket* CStreamMessagePullSegmentRequest::Copy() 00028 { 00029 return new CStreamMessagePullSegmentRequest( 00030 this->stream, 00031 this->srcId, 00032 this->srcIdEntry, 00033 this->dstId, 00034 this->dstIdEntry, 00035 this->first, 00036 this->count, 00037 this->bitmap 00038 ); 00039 }
Last updated: February 8, 2011