Retrieve TypeId of the instance of TcpSocketBase

Signed-off-by: Nat <natale.patriciello@gmail.com>
This commit is contained in:
Matt
2016-01-06 10:45:35 +01:00
parent 8c38b33c04
commit 051943a1a7
2 changed files with 13 additions and 1 deletions

View File

@@ -184,7 +184,13 @@ TcpSocketBase::GetTypeId (void)
return tid;
}
// TcpSocketState
TypeId
TcpSocketBase::GetInstanceTypeId () const
{
return TcpSocketBase::GetTypeId ();
}
TypeId
TcpSocketState::GetTypeId (void)
{

View File

@@ -245,6 +245,12 @@ public:
*/
static TypeId GetTypeId (void);
/**
* \brief Get the instance TypeId
* \return the instance TypeId
*/
virtual TypeId GetInstanceTypeId () const;
friend class TcpGeneralTest;
/**