Platform_Network_Client.h
Go to the documentation of this file.00001 00011 #ifndef __Platform_Network_Client_H__ 00012 #define __Platform_Network_Client_H__ 00013 00014 // Includes 00015 #include "Platform_Network.h" 00016 00017 // Forward declares 00018 class DynamicBuffer; 00019 00020 // Platform_Network_Client 00021 class Platform_Network_Client 00022 { 00023 public: 00024 virtual ~Platform_Network_Client() { }; 00025 00026 virtual Platform_Network::ConnectionMode GetConnectionMode() = 0; 00027 virtual const char* GetAddress() = 0; 00028 virtual int GetPort() = 0; 00029 00030 virtual bool IsConnected() = 0; 00031 virtual bool Connect() = 0; 00032 virtual bool Disconnect() = 0; 00033 00034 virtual void SendData( 00035 const void* data, 00036 int size 00037 ) = 0; 00038 00039 virtual int GetReceivedDataSize() = 0; 00040 00041 virtual void GetReceivedData( 00042 DynamicBuffer* buffer 00043 ) = 0; 00044 }; 00045 00046 #endif /* __Platform_Network_Client_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
