diff --git a/public/inetchannel.h b/public/inetchannel.h index 16bd7e46..b1ad8bf7 100644 --- a/public/inetchannel.h +++ b/public/inetchannel.h @@ -71,7 +71,6 @@ public: virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0; virtual void SetCompressionMode( bool bUseCompression ) = 0; virtual unsigned int RequestFile(const char *filename) = 0; - virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last received packet in seconds virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0; @@ -83,6 +82,11 @@ public: // Max # of payload bytes before we must split/fragment the packet virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0; virtual int GetMaxRoutablePayloadSize() = 0; + + virtual bool SetActiveChannel( INetChannel *msg ) = 0; + virtual void AttachSplitPlayer( int player, INetChannel *msg ) = 0; + virtual void DetachSplitPlayer( int player ) = 0; + virtual bool IsRemoteDisconnected() const = 0; }; diff --git a/public/inetchannelinfo.h b/public/inetchannelinfo.h index 23ac9810..6fe89b01 100644 --- a/public/inetchannelinfo.h +++ b/public/inetchannelinfo.h @@ -60,6 +60,7 @@ public: virtual float GetAvgData( int flow ) const = 0; // data flow in bytes/sec virtual float GetAvgPackets( int flow ) const = 0; // avg packets/sec virtual int GetTotalData( int flow ) const = 0; // total flow in/out in bytes + virtual int GetTotalPackets( int flow ) const = 0; virtual int GetSequenceNr( int flow ) const = 0; // last send seq number virtual bool IsValidPacket( int flow, int frame_number ) const = 0; // true if packet was not lost/dropped/chocked/flushed virtual float GetPacketTime( int flow, int frame_number ) const = 0; // time when packet was send