A Discrete-Event Network Simulator
API
ns3::QKDKeyAssociationLinkEntry Class Reference

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

#include "qkd-key-association-link-entry.h"

+ Inheritance diagram for ns3::QKDKeyAssociationLinkEntry:
+ Collaboration diagram for ns3::QKDKeyAssociationLinkEntry:

Public Member Functions

 QKDKeyAssociationLinkEntry ()
 
 QKDKeyAssociationLinkEntry (uint32_t local_qkd_node_id, uint32_t remote_qkd_node_id, uint32_t nextHop, uint32_t hops, uint32_t type, Ipv4Address kmsSrcAddress, Ipv4Address kmsDstAddress, Ptr< QKDBuffer > qkdBuffer)
 
 QKDKeyAssociationLinkEntry (UUID qkdl_id, uint32_t local_qkd_node_id, uint32_t remote_qkd_node_id, uint32_t nextHop, uint32_t hops, uint32_t type, Ipv4Address kmsSrcAddress, Ipv4Address kmsDstAddress, Ptr< QKDBuffer > qkdBuffer)
 
 ~QKDKeyAssociationLinkEntry ()
 
bool CheckSAEApplicationExists (UUID saeId)
 
Ipv4Address GetDestinationKmsAddress () const
 Get destination KMS Address. More...
 
uint32_t GetDestinationNodeId ()
 
double GetEffectiveSKR ()
 
double GetExpectedConsumption ()
 
uint32_t GetHop ()
 
UUID GetId ()
 
virtual TypeId GetInstanceTypeId (void) const
 Get the type ID for the instance. More...
 
double GetSKR ()
 
Ptr< QKDBufferGetSourceBuffer ()
 
Ipv4Address GetSourceKmsAddress () const
 Get source KMS Address. More...
 
uint32_t GetSourceNodeId ()
 
uint32_t GetType ()
 
double GetUpdateStatusInterval ()
 
bool IsValid ()
 
void Print (Ptr< OutputStreamWrapper > stream) const
 Print routing table entry. More...
 
void PrintRegistryInfo ()
 Print registry info. More...
 
void PrintSAEApplications ()
 
void SetEffectiveSKR (double value)
 
void SetExpectedConsumption (double value)
 
void SetId (UUID id)
 
void SetSKR (double value)
 
void SetUpdateStatusInterval (double statusInterval)
 
void UpdateQKDApplications (UUID saeId)
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
 Destructor. More...
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together. More...
 
void Dispose (void)
 Dispose of this Object. More...
 
AggregateIterator GetAggregateIterator (void) const
 Get an iterator to the Objects aggregated to this one. More...
 
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object. More...
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId. More...
 
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object. More...
 
template<typename T >
Ptr< T > GetObject (void) const
 Get a pointer to the requested aggregated Object. More...
 
void Initialize (void)
 Invoke DoInitialize on all Objects aggregated to this one. More...
 
bool IsInitialized (void) const
 Check if the object has been initialized. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= ([[maybe_unused]] const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor. More...
 
void GetAttribute (std::string name, AttributeValue &value) const
 Get the value of an attribute, raising fatal errors if unsuccessful. More...
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising erros. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful. More...
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors. More...
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context. More...
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context. More...
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context. More...
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context. More...
 

Static Public Member Functions

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

Public Attributes

uint32_t m_hops
 
Ipv4Address m_kmsDstAddress
 
Ipv4Address m_kmsSrcAddress
 
double m_phys_channel_att
 
uint32_t m_phys_qkd_role
 
double m_phys_wavelength
 
std::vector< UUIDm_qkdl_applications
 
bool m_qkdl_enable
 
UUID m_qkdl_id
 
uint32_t m_qkdl_local_qkdi_id
 
uint32_t m_qkdl_local_qkdn_id
 
double m_qkdl_performance_eskr
 
double m_qkdl_performance_expected_consumption
 
double m_qkdl_performance_skr
 
uint32_t m_qkdl_remote_qkdi_id
 
uint32_t m_qkdl_remote_qkdn_id
 
uint32_t m_qkdl_type
 
Ptr< QKDBufferm_srcQKDBuffer
 
double m_update_status_interval
 
bool m_valid
 
double m_virt_bandwidth
 
uint32_t m_virt_next_hop
 
uint32_t m_virt_prev_hop
 

Additional Inherited Members

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

Detailed Description

Introspection did not find any typical Config paths.


No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 200 bytes (on a 64-bit architecture).

Definition at line 62 of file qkd-key-association-link-entry.h.

Constructor & Destructor Documentation

◆ QKDKeyAssociationLinkEntry() [1/3]

ns3::QKDKeyAssociationLinkEntry::QKDKeyAssociationLinkEntry ( )

Definition at line 57 of file qkd-key-association-link-entry.cc.

References m_valid.

◆ QKDKeyAssociationLinkEntry() [2/3]

ns3::QKDKeyAssociationLinkEntry::QKDKeyAssociationLinkEntry ( uint32_t  local_qkd_node_id,
uint32_t  remote_qkd_node_id,
uint32_t  nextHop,
uint32_t  hops,
uint32_t  type,
Ipv4Address  kmsSrcAddress,
Ipv4Address  kmsDstAddress,
Ptr< QKDBuffer qkdBuffer 
)

◆ QKDKeyAssociationLinkEntry() [3/3]

ns3::QKDKeyAssociationLinkEntry::QKDKeyAssociationLinkEntry ( UUID  qkdl_id,
uint32_t  local_qkd_node_id,
uint32_t  remote_qkd_node_id,
uint32_t  nextHop,
uint32_t  hops,
uint32_t  type,
Ipv4Address  kmsSrcAddress,
Ipv4Address  kmsDstAddress,
Ptr< QKDBuffer qkdBuffer 
)

◆ ~QKDKeyAssociationLinkEntry()

ns3::QKDKeyAssociationLinkEntry::~QKDKeyAssociationLinkEntry ( )

Definition at line 140 of file qkd-key-association-link-entry.cc.

Member Function Documentation

◆ CheckSAEApplicationExists()

bool ns3::QKDKeyAssociationLinkEntry::CheckSAEApplicationExists ( UUID  saeId)

Definition at line 143 of file qkd-key-association-link-entry.cc.

References m_qkdl_applications, and NS_LOG_FUNCTION.

◆ GetDestinationKmsAddress()

◆ GetDestinationNodeId()

uint32_t ns3::QKDKeyAssociationLinkEntry::GetDestinationNodeId ( )
inline

Definition at line 128 of file qkd-key-association-link-entry.h.

References m_qkdl_remote_qkdn_id.

Referenced by ns3::QKDConnectionRegister::AddKeyAssociationEntry().

+ Here is the caller graph for this function:

◆ GetEffectiveSKR()

◆ GetExpectedConsumption()

◆ GetHop()

uint32_t ns3::QKDKeyAssociationLinkEntry::GetHop ( )
inline

Definition at line 154 of file qkd-key-association-link-entry.h.

References m_hops.

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

+ Here is the caller graph for this function:

◆ GetId()

◆ GetInstanceTypeId()

TypeId ns3::QKDKeyAssociationLinkEntry::GetInstanceTypeId ( void  ) const
virtual

Get the type ID for the instance.

Returns
the instance TypeId

Reimplemented from ns3::Object.

Definition at line 52 of file qkd-key-association-link-entry.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetSKR()

◆ GetSourceBuffer()

◆ GetSourceKmsAddress()

Ipv4Address ns3::QKDKeyAssociationLinkEntry::GetSourceKmsAddress ( ) const
inline

Get source KMS Address.

Returns
the source KMS Address

Definition at line 110 of file qkd-key-association-link-entry.h.

References m_kmsSrcAddress.

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

+ Here is the caller graph for this function:

◆ GetSourceNodeId()

uint32_t ns3::QKDKeyAssociationLinkEntry::GetSourceNodeId ( )
inline

Definition at line 124 of file qkd-key-association-link-entry.h.

References m_qkdl_local_qkdn_id.

◆ GetType()

uint32_t ns3::QKDKeyAssociationLinkEntry::GetType ( void  )
inline

Definition at line 158 of file qkd-key-association-link-entry.h.

References m_qkdl_type.

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

+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::QKDKeyAssociationLinkEntry::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 41 of file qkd-key-association-link-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:

◆ GetUpdateStatusInterval()

double ns3::QKDKeyAssociationLinkEntry::GetUpdateStatusInterval ( )

Definition at line 214 of file qkd-key-association-link-entry.cc.

References m_update_status_interval.

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

+ Here is the caller graph for this function:

◆ IsValid()

◆ Print()

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

Print routing table entry.

Parameters
streamthe output stream

Definition at line 193 of file qkd-key-association-link-entry.cc.

References ns3::OutputStreamWrapper::GetStream(), m_hops, m_kmsDstAddress, m_kmsSrcAddress, m_qkdl_applications, m_qkdl_id, m_qkdl_local_qkdn_id, m_qkdl_performance_skr, m_qkdl_remote_qkdn_id, and m_virt_next_hop.

+ Here is the call graph for this function:

◆ PrintRegistryInfo()

◆ PrintSAEApplications()

void ns3::QKDKeyAssociationLinkEntry::PrintSAEApplications ( )

Definition at line 162 of file qkd-key-association-link-entry.cc.

References m_qkdl_applications, and NS_LOG_FUNCTION.

◆ SetEffectiveSKR()

void ns3::QKDKeyAssociationLinkEntry::SetEffectiveSKR ( double  value)

◆ SetExpectedConsumption()

void ns3::QKDKeyAssociationLinkEntry::SetExpectedConsumption ( double  value)

◆ SetId()

void ns3::QKDKeyAssociationLinkEntry::SetId ( UUID  id)
inline

Definition at line 136 of file qkd-key-association-link-entry.h.

References m_qkdl_id.

Referenced by ns3::QKDSDNController::ProcessRequest().

+ Here is the caller graph for this function:

◆ SetSKR()

void ns3::QKDKeyAssociationLinkEntry::SetSKR ( double  value)

◆ SetUpdateStatusInterval()

void ns3::QKDKeyAssociationLinkEntry::SetUpdateStatusInterval ( double  statusInterval)

Definition at line 209 of file qkd-key-association-link-entry.cc.

References m_update_status_interval.

Referenced by ns3::QKDSDNController::ProcessRequest(), and ns3::QKDKeyManagerSystemApplication::ProcessResponseSDN().

+ Here is the caller graph for this function:

◆ UpdateQKDApplications()

void ns3::QKDKeyAssociationLinkEntry::UpdateQKDApplications ( UUID  saeId)

Definition at line 172 of file qkd-key-association-link-entry.cc.

References m_qkdl_applications.

Member Data Documentation

◆ m_hops

uint32_t ns3::QKDKeyAssociationLinkEntry::m_hops

◆ m_kmsDstAddress

Ipv4Address ns3::QKDKeyAssociationLinkEntry::m_kmsDstAddress

◆ m_kmsSrcAddress

Ipv4Address ns3::QKDKeyAssociationLinkEntry::m_kmsSrcAddress

◆ m_phys_channel_att

double ns3::QKDKeyAssociationLinkEntry::m_phys_channel_att

Definition at line 205 of file qkd-key-association-link-entry.h.

◆ m_phys_qkd_role

uint32_t ns3::QKDKeyAssociationLinkEntry::m_phys_qkd_role

Definition at line 207 of file qkd-key-association-link-entry.h.

◆ m_phys_wavelength

double ns3::QKDKeyAssociationLinkEntry::m_phys_wavelength

Definition at line 206 of file qkd-key-association-link-entry.h.

◆ m_qkdl_applications

std::vector<UUID> ns3::QKDKeyAssociationLinkEntry::m_qkdl_applications

◆ m_qkdl_enable

bool ns3::QKDKeyAssociationLinkEntry::m_qkdl_enable

Definition at line 195 of file qkd-key-association-link-entry.h.

Referenced by QKDKeyAssociationLinkEntry().

◆ m_qkdl_id

UUID ns3::QKDKeyAssociationLinkEntry::m_qkdl_id

◆ m_qkdl_local_qkdi_id

uint32_t ns3::QKDKeyAssociationLinkEntry::m_qkdl_local_qkdi_id

Definition at line 197 of file qkd-key-association-link-entry.h.

◆ m_qkdl_local_qkdn_id

uint32_t ns3::QKDKeyAssociationLinkEntry::m_qkdl_local_qkdn_id

◆ m_qkdl_performance_eskr

double ns3::QKDKeyAssociationLinkEntry::m_qkdl_performance_eskr

◆ m_qkdl_performance_expected_consumption

double ns3::QKDKeyAssociationLinkEntry::m_qkdl_performance_expected_consumption

◆ m_qkdl_performance_skr

double ns3::QKDKeyAssociationLinkEntry::m_qkdl_performance_skr

◆ m_qkdl_remote_qkdi_id

uint32_t ns3::QKDKeyAssociationLinkEntry::m_qkdl_remote_qkdi_id

Definition at line 199 of file qkd-key-association-link-entry.h.

◆ m_qkdl_remote_qkdn_id

uint32_t ns3::QKDKeyAssociationLinkEntry::m_qkdl_remote_qkdn_id

◆ m_qkdl_type

uint32_t ns3::QKDKeyAssociationLinkEntry::m_qkdl_type

Definition at line 200 of file qkd-key-association-link-entry.h.

Referenced by GetType().

◆ m_srcQKDBuffer

Ptr<QKDBuffer> ns3::QKDKeyAssociationLinkEntry::m_srcQKDBuffer

Definition at line 220 of file qkd-key-association-link-entry.h.

Referenced by GetSourceBuffer().

◆ m_update_status_interval

double ns3::QKDKeyAssociationLinkEntry::m_update_status_interval

◆ m_valid

bool ns3::QKDKeyAssociationLinkEntry::m_valid

Definition at line 218 of file qkd-key-association-link-entry.h.

Referenced by QKDKeyAssociationLinkEntry(), and IsValid().

◆ m_virt_bandwidth

double ns3::QKDKeyAssociationLinkEntry::m_virt_bandwidth

Definition at line 204 of file qkd-key-association-link-entry.h.

◆ m_virt_next_hop

uint32_t ns3::QKDKeyAssociationLinkEntry::m_virt_next_hop

◆ m_virt_prev_hop

uint32_t ns3::QKDKeyAssociationLinkEntry::m_virt_prev_hop

Definition at line 202 of file qkd-key-association-link-entry.h.


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