Alex Bikfalvi
You are here: Home > Projects > SimStream > Documentation
00001 #pragma once 00002 00003 #include "StreamDecoder.h" 00004 00005 class CStreamDecoderFrame : public CStreamDecoder 00006 { 00007 private: 00008 IDelegate2<void, CAddress, CStreamFrame>* delegateRecv; 00009 00010 public: 00011 CStreamDecoderFrame( 00012 IDelegate2<void, CAddress, CStreamFrame>* delegateRecv 00013 ); 00014 CStreamDecoderFrame( 00015 __uint32 stream, 00016 IDelegate2<void, CAddress, CStreamFrame>* delegateRecv 00017 ); 00018 virtual ~CStreamDecoderFrame() { } 00019 00020 virtual EResult Decode(CAddress address, CPacketStream* packet); // Decode packet (packet object can be reused after function call) 00021 };
Last updated: February 8, 2011