A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::QKDLocationRegisterEntry Class Reference

Introspection did not find any typical Config paths. More...

#include "qkd-location-register-entry.h"

+ Inheritance diagram for ns3::QKDLocationRegisterEntry:
+ Collaboration diagram for ns3::QKDLocationRegisterEntry:

Public Member Functions

 QKDLocationRegisterEntry ()
 
 QKDLocationRegisterEntry (uint32_t nextHopKmNodeId, Ipv4Address nextHopKmNodeAddress, uint32_t hops, uint32_t dstKmNodeId, Ipv4Address dstKmAddress, std::string dstKmId)
 
 ~QKDLocationRegisterEntry () override
 
uint32_t GetDestinationKmNodeId () const
 
Ipv4Address GetDestinationKmsAddress () const
 Get destination KMS Address.
 
uint32_t GetHop () const
 Get hop.
 
TypeId GetInstanceTypeId () const override
 Get the type ID for the instance.
 
std::string GetKmId ()
 
uint32_t GetNextHop () const
 Get next hop.
 
Ipv4Address GetNextHopAddress () const
 
uint32_t GetNextHopKMNodeId () const
 
std::string GetRemoteAppId () const
 
std::string GetSourceAppId () const
 
void Print (Ptr< OutputStreamWrapper > stream) const
 Print routing table entry.
 
void PrintRegistryInfo ()
 Print registry info.
 
void SetHop (uint32_t hopCount)
 Set hop.
 
void SetNextHop (uint32_t nextHop)
 Set next hop.
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor.
 
 ~Object () override
 Destructor.
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together.
 
void Dispose ()
 Dispose of this Object.
 
AggregateIterator GetAggregateIterator () const
 Get an iterator to the Objects aggregated to this one.
 
template<typename T >
Ptr< T > GetObject () const
 Get a pointer to the requested aggregated Object.
 
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object.
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId.
 
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object.
 
void Initialize ()
 Invoke DoInitialize on all Objects aggregated to this one.
 
bool IsInitialized () const
 Check if the object has been initialized.
 
void UnidirectionalAggregateObject (Ptr< Object > other)
 Aggregate an Object to another Object.
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor.
 
void GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const
 Get the value of an attribute, raising fatal errors if unsuccessful.
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors.
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful.
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors.
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context.
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context.
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context.
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context.
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId ()
 Register this type.
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId ()
 Get the type ID.
 

Private Attributes

Ipv4Address m_dstAddress
 
std::string m_dstAppId
 
std::string m_dstKmId
 
uint32_t m_dstKmNodeId
 
uint32_t m_hops
 
uint32_t m_nextHop
 
Ipv4Address m_nextHopAddress
 
std::string m_srcAppId
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object.
 
virtual void DoDispose ()
 Destructor implementation.
 
virtual void DoInitialize ()
 Initialize() implementation.
 
virtual void NotifyNewAggregate ()
 Notify all Objects aggregated to this one of a new Object being aggregated.
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes.
 
virtual void NotifyConstructionCompleted ()
 Notifier called once the ObjectBase is fully constructed.
 

Detailed Description

Introspection did not find any typical Config paths.


No Attributes are defined for this type.
No TraceSources are defined for this type.
Group: QKDLocationRegisterEntry

Size of this type is 184 bytes (on a 64-bit architecture).

Definition at line 47 of file qkd-location-register-entry.h.

Constructor & Destructor Documentation

◆ QKDLocationRegisterEntry() [1/2]

ns3::QKDLocationRegisterEntry::QKDLocationRegisterEntry ( )

Definition at line 47 of file qkd-location-register-entry.cc.

◆ QKDLocationRegisterEntry() [2/2]

ns3::QKDLocationRegisterEntry::QKDLocationRegisterEntry ( uint32_t  nextHopKmNodeId,
Ipv4Address  nextHopKmNodeAddress,
uint32_t  hops,
uint32_t  dstKmNodeId,
Ipv4Address  dstKmAddress,
std::string  dstKmId 
)

Definition at line 51 of file qkd-location-register-entry.cc.

References ns3::Create(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

◆ ~QKDLocationRegisterEntry()

ns3::QKDLocationRegisterEntry::~QKDLocationRegisterEntry ( )
override

Definition at line 75 of file qkd-location-register-entry.cc.

Member Function Documentation

◆ GetDestinationKmNodeId()

uint32_t ns3::QKDLocationRegisterEntry::GetDestinationKmNodeId ( ) const
inline

Definition at line 98 of file qkd-location-register-entry.h.

References m_dstKmNodeId.

◆ GetDestinationKmsAddress()

Ipv4Address ns3::QKDLocationRegisterEntry::GetDestinationKmsAddress ( ) const
inline

Get destination KMS Address.

Returns
the destination KMS Address

Definition at line 93 of file qkd-location-register-entry.h.

References m_dstAddress.

Referenced by ns3::QKDKeyManagerSystemApplication::ProcessSKeyCreateRequest().

+ Here is the caller graph for this function:

◆ GetHop()

uint32_t ns3::QKDLocationRegisterEntry::GetHop ( ) const
inline

Get hop.

Returns
the hop count

Definition at line 149 of file qkd-location-register-entry.h.

References m_hops.

Referenced by ns3::QKDKeyManagerSystemApplication::ProcessOpenConnectRequest().

+ Here is the caller graph for this function:

◆ GetInstanceTypeId()

TypeId ns3::QKDLocationRegisterEntry::GetInstanceTypeId ( ) const
overridevirtual

Get the type ID for the instance.

Returns
the instance TypeId

Reimplemented from ns3::Object.

Definition at line 42 of file qkd-location-register-entry.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetKmId()

std::string ns3::QKDLocationRegisterEntry::GetKmId ( )

Definition at line 70 of file qkd-location-register-entry.cc.

References m_dstKmId.

◆ GetNextHop()

uint32_t ns3::QKDLocationRegisterEntry::GetNextHop ( ) const
inline

Get next hop.

Returns
the ID of the next hop

Definition at line 122 of file qkd-location-register-entry.h.

References m_nextHop.

Referenced by Print(), and ns3::QKDKeyManagerSystemApplication::ProcessRelayRequest().

+ Here is the caller graph for this function:

◆ GetNextHopAddress()

Ipv4Address ns3::QKDLocationRegisterEntry::GetNextHopAddress ( ) const
inline

Definition at line 128 of file qkd-location-register-entry.h.

References m_nextHopAddress.

◆ GetNextHopKMNodeId()

uint32_t ns3::QKDLocationRegisterEntry::GetNextHopKMNodeId ( ) const
inline

Definition at line 103 of file qkd-location-register-entry.h.

References m_nextHop.

◆ GetRemoteAppId()

std::string ns3::QKDLocationRegisterEntry::GetRemoteAppId ( ) const
inline

Definition at line 77 of file qkd-location-register-entry.h.

References m_dstAppId.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetSourceAppId()

std::string ns3::QKDLocationRegisterEntry::GetSourceAppId ( ) const
inline

Definition at line 83 of file qkd-location-register-entry.h.

References m_srcAppId.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::QKDLocationRegisterEntry::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 31 of file qkd-location-register-entry.cc.

References ns3::TypeId::SetParent().

Referenced by GetInstanceTypeId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Print()

void ns3::QKDLocationRegisterEntry::Print ( Ptr< OutputStreamWrapper stream) const

Print routing table entry.

Parameters
streamthe output stream

Definition at line 86 of file qkd-location-register-entry.cc.

References GetNextHop(), GetRemoteAppId(), and GetSourceAppId().

+ Here is the call graph for this function:

◆ PrintRegistryInfo()

void ns3::QKDLocationRegisterEntry::PrintRegistryInfo ( )

Print registry info.

Definition at line 80 of file qkd-location-register-entry.cc.

References m_dstAddress, m_dstAppId, m_dstKmNodeId, m_hops, m_nextHop, m_srcAppId, and NS_LOG_FUNCTION.

◆ SetHop()

void ns3::QKDLocationRegisterEntry::SetHop ( uint32_t  hopCount)
inline

Set hop.

Parameters
hopCountthe hop count

Definition at line 140 of file qkd-location-register-entry.h.

References m_hops.

◆ SetNextHop()

void ns3::QKDLocationRegisterEntry::SetNextHop ( uint32_t  nextHop)
inline

Set next hop.

Parameters
nextHopthe ID of the next hop

Definition at line 113 of file qkd-location-register-entry.h.

References m_nextHop.

Member Data Documentation

◆ m_dstAddress

Ipv4Address ns3::QKDLocationRegisterEntry::m_dstAddress
private

Definition at line 172 of file qkd-location-register-entry.h.

Referenced by GetDestinationKmsAddress(), and PrintRegistryInfo().

◆ m_dstAppId

std::string ns3::QKDLocationRegisterEntry::m_dstAppId
private

Definition at line 167 of file qkd-location-register-entry.h.

Referenced by GetRemoteAppId(), and PrintRegistryInfo().

◆ m_dstKmId

std::string ns3::QKDLocationRegisterEntry::m_dstKmId
private

Definition at line 173 of file qkd-location-register-entry.h.

Referenced by GetKmId().

◆ m_dstKmNodeId

uint32_t ns3::QKDLocationRegisterEntry::m_dstKmNodeId
private

Definition at line 171 of file qkd-location-register-entry.h.

Referenced by GetDestinationKmNodeId(), and PrintRegistryInfo().

◆ m_hops

uint32_t ns3::QKDLocationRegisterEntry::m_hops
private

Definition at line 170 of file qkd-location-register-entry.h.

Referenced by GetHop(), PrintRegistryInfo(), and SetHop().

◆ m_nextHop

uint32_t ns3::QKDLocationRegisterEntry::m_nextHop
private

◆ m_nextHopAddress

Ipv4Address ns3::QKDLocationRegisterEntry::m_nextHopAddress
private

Definition at line 169 of file qkd-location-register-entry.h.

Referenced by GetNextHopAddress().

◆ m_srcAppId

std::string ns3::QKDLocationRegisterEntry::m_srcAppId
private

Definition at line 166 of file qkd-location-register-entry.h.

Referenced by GetSourceAppId(), and PrintRegistryInfo().


The documentation for this class was generated from the following files: