From f7df65a747926d52431bf960bf8ec617040ca804 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 21 Aug 2011 13:42:41 -0400 Subject: [PATCH] Updated INetChannel iface (bug 5058, r=DS). --- public/inetchannel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/inetchannel.h b/public/inetchannel.h index 16bd7e46..1d014062 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,8 @@ public: // Max # of payload bytes before we must split/fragment the packet virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0; virtual int GetMaxRoutablePayloadSize() = 0; + + virtual int GetProtocolVersion() = 0; };