(abstract) base class of all UdpSockets More...
#include <udp-socket.h>
Public Member Functions | |
UdpSocket (void) | |
virtual | ~UdpSocket (void) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::UdpSocket. | |
Private Member Functions | |
virtual void | SetRcvBufSize (uint32_t size)=0 |
virtual uint32_t | GetRcvBufSize (void) const =0 |
virtual void | SetIpTtl (uint32_t ipTtl)=0 |
virtual uint32_t | GetIpTtl (void) const =0 |
virtual void | SetIpMulticastTtl (uint32_t ipTtl)=0 |
virtual uint32_t | GetIpMulticastTtl (void) const =0 |
virtual void | SetMtuDiscover (bool discover)=0 |
virtual bool | GetMtuDiscover (void) const =0 |
(abstract) base class of all UdpSockets
This class exists solely for hosting UdpSocket attributes that can be reused across different implementations.
Definition at line 45 of file udp-socket.h.
ns3::UdpSocket::UdpSocket | ( | void | ) |
Definition at line 66 of file udp-socket.cc.
References NS_LOG_FUNCTION_NOARGS.
ns3::UdpSocket::~UdpSocket | ( | void | ) | [virtual] |
Definition at line 71 of file udp-socket.cc.
References NS_LOG_FUNCTION_NOARGS.
virtual uint32_t ns3::UdpSocket::GetIpMulticastTtl | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::UdpSocket::GetIpTtl | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual bool ns3::UdpSocket::GetMtuDiscover | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::UdpSocket::GetRcvBufSize | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
TypeId ns3::UdpSocket::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::UdpSocket.
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::UdpSocketImpl.
Definition at line 35 of file udp-socket.cc.
References ns3::TypeId::AddAttribute(), GetIpMulticastTtl(), GetIpTtl(), GetMtuDiscover(), GetRcvBufSize(), SetIpMulticastTtl(), SetIpTtl(), SetMtuDiscover(), ns3::TypeId::SetParent(), and SetRcvBufSize().
virtual void ns3::UdpSocket::SetIpMulticastTtl | ( | uint32_t | ipTtl | ) | [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::UdpSocket::SetIpTtl | ( | uint32_t | ipTtl | ) | [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::UdpSocket::SetMtuDiscover | ( | bool | discover | ) | [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::UdpSocket::SetRcvBufSize | ( | uint32_t | size | ) | [private, pure virtual] |
Implemented in ns3::UdpSocketImpl.
Referenced by GetTypeId().