(abstract) base class of all TcpSockets More...
#include <tcp-socket.h>
Public Member Functions | |
TcpSocket (void) | |
virtual | ~TcpSocket (void) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::TcpSocket. | |
Private Member Functions | |
virtual void | SetSndBufSize (uint32_t size)=0 |
virtual uint32_t | GetSndBufSize (void) const =0 |
virtual void | SetRcvBufSize (uint32_t size)=0 |
virtual uint32_t | GetRcvBufSize (void) const =0 |
virtual void | SetSegSize (uint32_t size)=0 |
virtual uint32_t | GetSegSize (void) const =0 |
virtual void | SetSSThresh (uint32_t threshold)=0 |
virtual uint32_t | GetSSThresh (void) const =0 |
virtual void | SetInitialCwnd (uint32_t count)=0 |
virtual uint32_t | GetInitialCwnd (void) const =0 |
virtual void | SetConnTimeout (Time timeout)=0 |
virtual Time | GetConnTimeout (void) const =0 |
virtual void | SetConnCount (uint32_t count)=0 |
virtual uint32_t | GetConnCount (void) const =0 |
virtual void | SetDelAckTimeout (Time timeout)=0 |
virtual Time | GetDelAckTimeout (void) const =0 |
virtual void | SetDelAckMaxCount (uint32_t count)=0 |
virtual uint32_t | GetDelAckMaxCount (void) const =0 |
(abstract) base class of all TcpSockets
This class exists solely for hosting TcpSocket attributes that can be reused across different implementations.
Definition at line 46 of file tcp-socket.h.
ns3::TcpSocket::TcpSocket | ( | void | ) |
Definition at line 98 of file tcp-socket.cc.
References NS_LOG_FUNCTION_NOARGS.
ns3::TcpSocket::~TcpSocket | ( | void | ) | [virtual] |
Definition at line 103 of file tcp-socket.cc.
References NS_LOG_FUNCTION_NOARGS.
virtual uint32_t ns3::TcpSocket::GetConnCount | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual Time ns3::TcpSocket::GetConnTimeout | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetDelAckMaxCount | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual Time ns3::TcpSocket::GetDelAckTimeout | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetInitialCwnd | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetRcvBufSize | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetSegSize | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetSndBufSize | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual uint32_t ns3::TcpSocket::GetSSThresh | ( | void | ) | const [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
TypeId ns3::TcpSocket::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::TcpSocket.
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Reimplemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Definition at line 36 of file tcp-socket.cc.
References ns3::TypeId::AddAttribute(), GetConnCount(), GetConnTimeout(), GetDelAckMaxCount(), GetDelAckTimeout(), GetInitialCwnd(), GetRcvBufSize(), GetSegSize(), GetSndBufSize(), GetSSThresh(), ns3::Seconds(), SetConnCount(), SetConnTimeout(), SetDelAckMaxCount(), SetDelAckTimeout(), SetInitialCwnd(), ns3::TypeId::SetParent(), SetRcvBufSize(), SetSegSize(), SetSndBufSize(), and SetSSThresh().
virtual void ns3::TcpSocket::SetConnCount | ( | uint32_t | count | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetConnTimeout | ( | Time | timeout | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetDelAckMaxCount | ( | uint32_t | count | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetDelAckTimeout | ( | Time | timeout | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetInitialCwnd | ( | uint32_t | count | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetRcvBufSize | ( | uint32_t | size | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetSegSize | ( | uint32_t | size | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetSndBufSize | ( | uint32_t | size | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().
virtual void ns3::TcpSocket::SetSSThresh | ( | uint32_t | threshold | ) | [private, pure virtual] |
Implemented in ns3::NscTcpSocketImpl, and ns3::TcpSocketImpl.
Referenced by GetTypeId().