Alex Bikfalvi
SimStream Documentation
StreamClient.h
00001 #pragma once 00002 00003 #include "Stream.h" 00004 #include "Channel.h" 00005 #include "Address.h" 00006 #include "StreamFrame.h" 00007 #include "StreamMessage.h" 00008 #include "PacketStream.h" 00009 00010 class CStreamClient : public CStream 00011 { 00012 public: 00013 CStreamClient(CSimHandler* sim) : CStream(sim) { } 00014 virtual ~CStreamClient() { } 00015 00016 virtual void Start(CChannel* channel) = 0; 00017 virtual void Stop() = 0; 00018 00019 virtual void Recv(CAddress srcAddress, CAddress dstAddress, __uint16 srcPort, __uint16 dstPort, CPacket* packet) = 0; 00020 00021 virtual __uint32 StatRecvFrames() = 0; 00022 virtual __uint32 StatDiscardedFrames() = 0; 00023 virtual __uint32 StatPlayFrames() = 0; 00024 virtual __uint32* StatSuccessFrames() = 0; 00025 virtual __uint32* StatFailFrames() = 0; 00026 00027 virtual __time StatTimeClientStart() = 0; 00028 virtual __time StatTimeRecvStart() = 0; 00029 virtual __time StatTimePlayStart() = 0; 00030 virtual __time StatTimeFinish() = 0; 00031 virtual __time StatTimeWait() = 0; 00032 00033 virtual __uint32 StatPlayFirstFrame() = 0; 00034 virtual __uint32 StatPlayLastFrame() = 0; 00035 00036 virtual __time StatSyncDelay() = 0; 00037 };
Last updated: February 8, 2011