Main Page | Class List | Directories | File List | Class Members

TransportConfig.h

00001 /* START_LICENSE_HEADER
00002 
00003 Copyright (C) 2000 Martin Piper, original design and program code
00004 Copyright (C) 2001-2005 Replica Software
00005 
00006 This program file is copyright (C) Replica Software and can only be used under license.
00007 For more information visit: http://www.replicanet.com/
00008 Or email: info@replicanet.com
00009 
00010 END_LICENSE_HEADER */
00011 #ifndef _TRANSPORTCONFIG_H_
00012 #define _TRANSPORTCONFIG_H_
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014 
00015 namespace RNReplicaNet
00016 {
00017 
00022 class XPURLDLL_API TransportConfig
00023 {
00024 public:
00031     static void SetResendTimes(const int numberOfTimes,const float *retryTimes);
00032 
00038     static void GetResendTimes(int *numberOfTimes,float *retryTimes);
00039 
00050     static void SetPacketBufferTime(const float maxTime = 0.0f);
00051 
00056     static float GetPacketBufferTime(void);
00057 
00064     static void PacketBufferBeginCaptureWindow(void);
00065 
00070     static void PacketBufferEndCaptureWindow(const bool kickBuffer = true);
00071 
00079     static void SetPacketBufferEnable(const bool enable = false);
00080 
00085     static bool GetPacketBufferEnable(void);
00086 
00087 private:
00088     TransportConfig() {};
00089 };
00090 
00091 } // namespace RNReplicaNet
00092 
00093 #endif

Generated on Sun Oct 30 01:12:16 2005 for XPURL by  doxygen 1.4.1