2013-10-03 17:38:47 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* EndPoint.h *
|
|
|
|
* *
|
|
|
|
* System::Net::EndPoint class definition file. *
|
|
|
|
* Copyright (c) XFX Team. All rights reserved. *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _SYSTEM_NET_ENDPOINT_
|
|
|
|
#define _SYSTEM_NET_ENDPOINT_
|
|
|
|
|
|
|
|
#include "Sockets/Enums.h"
|
|
|
|
#include "../Object.h"
|
|
|
|
|
|
|
|
using namespace System::Net::Sockets;
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
namespace Net
|
|
|
|
{
|
|
|
|
class SocketAddress;
|
|
|
|
|
2013-10-03 17:38:47 +02:00
|
|
|
/**
|
|
|
|
* Identifies a network address. This is an abstract class.
|
|
|
|
*/
|
|
|
|
class EndPoint : public Object
|
2013-05-05 18:18:41 +02:00
|
|
|
{
|
|
|
|
protected:
|
|
|
|
EndPoint();
|
|
|
|
|
|
|
|
public:
|
2014-07-14 15:03:46 +02:00
|
|
|
AddressFamily_t getAddressFamily() const;
|
2013-05-05 18:18:41 +02:00
|
|
|
|
2014-07-14 15:03:46 +02:00
|
|
|
virtual ~EndPoint();
|
|
|
|
|
|
|
|
virtual EndPoint* Create(SocketAddress * const socketAddress);
|
|
|
|
static const Type& GetType();
|
2013-10-03 17:38:47 +02:00
|
|
|
virtual SocketAddress* Serialize();
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_SYSTEM_NET_ENDPOINT_
|