Alex Bikfalvi
SimStream Documentation
StreamMessageBootPullResponse.h
00001 #pragma once 00002 00003 #include "StreamMessage.h" 00004 #include "Address.h" 00005 00006 class CStreamMessageBootPullResponse : public CStreamMessage 00007 { 00008 private: 00009 __uint32 count; 00010 CAddress hosts[BOOT_MAX_HOSTS]; 00011 00012 public: 00013 CStreamMessageBootPullResponse( 00014 __uint32 stream, 00015 __uint32 count 00016 ); 00017 virtual ~CStreamMessageBootPullResponse(); 00018 00019 inline __uint32 Count() { return this->count; } 00020 inline CAddress Host(__uint32 index) { assert(index < this->count); return this->hosts[index]; } 00021 inline void Host(__uint32 index, CAddress address) { assert(index < this->count); this->hosts[index] = address; } 00022 00023 virtual CPacket* Copy(); 00024 };
Last updated: February 8, 2011