Retrieve TypeId of the instance of TcpSocketBase
Signed-off-by: Nat <natale.patriciello@gmail.com>
This commit is contained in:
@@ -184,7 +184,13 @@ TcpSocketBase::GetTypeId (void)
|
||||
return tid;
|
||||
}
|
||||
|
||||
// TcpSocketState
|
||||
TypeId
|
||||
TcpSocketBase::GetInstanceTypeId () const
|
||||
{
|
||||
return TcpSocketBase::GetTypeId ();
|
||||
}
|
||||
|
||||
|
||||
TypeId
|
||||
TcpSocketState::GetTypeId (void)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user