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

#include "qkd-charging-application.h"

+ Inheritance diagram for ns3::QKDChargingApplication:
+ Collaboration diagram for ns3::QKDChargingApplication:

Public Member Functions

 QKDChargingApplication ()
 
virtual ~QKDChargingApplication ()
 
std::list< Ptr< Socket > > GetAcceptedSockets (void) const
 
Time GetLastAckTime ()
 
Ptr< SocketGetListeningSocket (void) const
 
Ptr< SocketGetSendSocket (void) const
 
Ptr< SocketGetSinkSocket (void) const
 
uint32_t GetTotalRx () const
 
void PrepareOutput (std::string key, uint32_t value)
 
void SetAuthSocket (std::string type, Ptr< Socket > socket)
 
void SetSiftingSocket (std::string type, Ptr< Socket > socket)
 
void SetSocket (std::string type, Ptr< Socket > socket, Ptr< NetDevice > dev, bool isMaster)
 
void SetTemp1Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp2Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp3Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp4Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp5Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp6Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp7Socket (std::string type, Ptr< Socket > socket)
 
void SetTemp8Socket (std::string type, Ptr< Socket > socket)
 
- Public Member Functions inherited from ns3::Application
 Application ()
 
virtual ~Application ()
 
Ptr< NodeGetNode () const
 
void SetNode (Ptr< Node > node)
 
void SetStartTime (Time start)
 Specify application start time. More...
 
void SetStopTime (Time stop)
 Specify application stop time. More...
 
- 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...
 
virtual TypeId GetInstanceTypeId (void) const
 Get the most derived TypeId for this Object. More...
 
template<typename T >
Ptr< T > GetObject (void) const
 Get a pointer to the requested aggregated Object. More...
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId. 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)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (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)
 
- Static Public Member Functions inherited from ns3::Application
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...
 

Protected Member Functions

virtual void DoDispose (void)
 Destructor implementation. More...
 
- Protected Member Functions inherited from ns3::Application
virtual void DoInitialize (void)
 Initialize() implementation. More...
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object. 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...
 

Private Member Functions

void ConnectionFailed (Ptr< Socket > socket)
 
void ConnectionFailedAuth (Ptr< Socket > socket)
 
void ConnectionFailedMthreshold (Ptr< Socket > socket)
 
void ConnectionFailedSifting (Ptr< Socket > socket)
 
void ConnectionFailedtemp1 (Ptr< Socket > socket)
 
void ConnectionFailedtemp2 (Ptr< Socket > socket)
 
void ConnectionFailedtemp3 (Ptr< Socket > socket)
 
void ConnectionFailedtemp4 (Ptr< Socket > socket)
 
void ConnectionFailedtemp5 (Ptr< Socket > socket)
 
void ConnectionFailedtemp6 (Ptr< Socket > socket)
 
void ConnectionFailedtemp7 (Ptr< Socket > socket)
 
void ConnectionFailedtemp8 (Ptr< Socket > socket)
 
void ConnectionSucceeded (Ptr< Socket > socket)
 
void ConnectionSucceededAuth (Ptr< Socket > socket)
 
void ConnectionSucceededMthreshold (Ptr< Socket > socket)
 
void ConnectionSucceededSifting (Ptr< Socket > socket)
 
void ConnectionSucceededtemp1 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp2 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp3 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp4 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp5 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp6 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp7 (Ptr< Socket > socket)
 
void ConnectionSucceededtemp8 (Ptr< Socket > socket)
 
void DataSend (Ptr< Socket >, uint32_t)
 
void HandleAccept (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptAuth (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptMthreshold (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptSifting (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp1 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp2 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp3 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp4 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp5 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp6 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp7 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandleAcceptTemp8 (Ptr< Socket > socket, const Address &from)
 Handle an incoming connection. More...
 
void HandlePeerClose (Ptr< Socket > socket)
 Handle an connection close. More...
 
void HandlePeerError (Ptr< Socket > socket)
 Handle an connection error. More...
 
void HandleRead (Ptr< Socket > socket)
 Handle a packet received by the application. More...
 
void HandleReadAuth (Ptr< Socket > socket)
 Handle a packet received by the application. More...
 
void HandleReadMthreshold (Ptr< Socket > socket)
 Handle a packet received by the application. More...
 
void HandleReadSifting (Ptr< Socket > socket)
 Handle a packet received by the application. More...
 
void HandleReadTemp1 (Ptr< Socket > socket)
 
void HandleReadTemp2 (Ptr< Socket > socket)
 
void HandleReadTemp3 (Ptr< Socket > socket)
 
void HandleReadTemp4 (Ptr< Socket > socket)
 
void HandleReadTemp5 (Ptr< Socket > socket)
 
void HandleReadTemp6 (Ptr< Socket > socket)
 
void HandleReadTemp7 (Ptr< Socket > socket)
 
void HandleReadTemp8 (Ptr< Socket > socket)
 
void Ignore (Ptr< Socket > socket)
 
void ProcessIncomingPacket (Ptr< Packet > packet, Ptr< Socket > socket)
 
void RegisterAckTime (Time oldRtt, Time newRtt)
 
void SendAuthPacket (void)
 Send AUTH packet to the socket. More...
 
void SendData ()
 
void SendDataTemp1 ()
 
void SendDataTemp2 ()
 
void SendDataTemp3 ()
 
void SendDataTemp4 ()
 
void SendDataTemp5 ()
 
void SendDataTemp6 ()
 
void SendDataTemp7 ()
 
void SendDataTemp8 ()
 
void SendMthresholdPacket (void)
 Send Mthreshold packet to the socket. More...
 
void SendPacket (Ptr< Packet > packet)
 Send packet to the socket. More...
 
void SendSiftingPacket (void)
 Send SIFTING packet to the socket. More...
 
void StartApplication (void)
 Application specific startup code. More...
 
void StopApplication (void)
 Application specific shutdown code. More...
 

Private Attributes

DataRate m_cbrRate
 Rate that data is generatedm_pktSize. More...
 
bool m_connected
 
uint32_t m_keyRate
 
Time m_lastAck
 
Address m_local
 Local address to bind to. More...
 
Address m_local_auth
 Local address to bind to. More...
 
Address m_local_mthreshold
 Local address to bind to. More...
 
Address m_local_sifting
 Local address to bind to. More...
 
Address m_local_temp1
 Local address to bind to. More...
 
Address m_local_temp2
 Local address to bind to. More...
 
Address m_local_temp3
 Local address to bind to. More...
 
Address m_local_temp4
 Local address to bind to. More...
 
Address m_local_temp5
 Local address to bind to. More...
 
Address m_local_temp6
 Local address to bind to. More...
 
Address m_local_temp7
 Local address to bind to. More...
 
Address m_local_temp8
 Local address to bind to. More...
 
bool m_master
 
uint32_t m_maxPackets
 
uint32_t m_maxPackets_auth
 
uint32_t m_maxPackets_sifting
 
uint32_t m_maxPackets_temp1
 
uint32_t m_maxPackets_temp2
 
uint32_t m_maxPackets_temp3
 
uint32_t m_maxPackets_temp4
 
uint32_t m_maxPackets_temp5
 
uint32_t m_maxPackets_temp6
 
uint32_t m_maxPackets_temp7
 
uint32_t m_maxPackets_temp8
 
bool m_odd
 
uint32_t m_packetNumber
 
uint32_t m_packetNumber_auth
 
uint32_t m_packetNumber_sifting
 
uint32_t m_packetNumber_temp1
 
uint32_t m_packetNumber_temp2
 
uint32_t m_packetNumber_temp3
 
uint32_t m_packetNumber_temp4
 
uint32_t m_packetNumber_temp5
 
uint32_t m_packetNumber_temp6
 
uint32_t m_packetNumber_temp7
 
uint32_t m_packetNumber_temp8
 
Address m_peer
 
Address m_peer_auth
 
Address m_peer_mthreshold
 
Address m_peer_sifting
 
Address m_peer_temp1
 
Address m_peer_temp2
 
Address m_peer_temp3
 
Address m_peer_temp4
 
Address m_peer_temp5
 
Address m_peer_temp6
 
Address m_peer_temp7
 
Address m_peer_temp8
 
uint32_t m_pktSize
 Size of packets. More...
 
double m_qkdPacketNumber
 
double m_qkdTotalTime
 
Ptr< UniformRandomVariablem_random
 
TracedCallback< Ptr< const Packet >, const Address & > m_rxTrace
 Traced Callback: received packets, source address. More...
 
Ptr< NetDevicem_sendDevice
 
EventId m_sendEvent
 Event id of pending "send packet" event. More...
 
bool m_sendKeyRateMessage
 
Ptr< Socketm_sendSocket
 IMITATE post-processing traffic (CASCADE, PRIVACY AMPLIFICATION and etc. More...
 
Ptr< Socketm_sendSocket_auth
 Sockets used for authentication. More...
 
Ptr< Socketm_sendSocket_mthreshold
 Sockets used for mthreshold value exchange. More...
 
Ptr< Socketm_sendSocket_sifting
 Sockets used for SIFTING. More...
 
Ptr< NetDevicem_sinkDevice
 
Ptr< Socketm_sinkSocket
 
Ptr< Socketm_sinkSocket_auth
 
Ptr< Socketm_sinkSocket_mthreshold
 
Ptr< Socketm_sinkSocket_sifting
 
std::list< Ptr< Socket > > m_sinkSocketList
 the accepted sockets More...
 
uint32_t m_status
 
Ptr< Socketm_tempSendSocket_1
 
Ptr< Socketm_tempSendSocket_2
 
Ptr< Socketm_tempSendSocket_3
 
Ptr< Socketm_tempSendSocket_4
 
Ptr< Socketm_tempSendSocket_5
 
Ptr< Socketm_tempSendSocket_6
 
Ptr< Socketm_tempSendSocket_7
 
Ptr< Socketm_tempSendSocket_8
 
Ptr< Socketm_tempSinkSocket_1
 
Ptr< Socketm_tempSinkSocket_2
 
Ptr< Socketm_tempSinkSocket_3
 
Ptr< Socketm_tempSinkSocket_4
 
Ptr< Socketm_tempSinkSocket_5
 
Ptr< Socketm_tempSinkSocket_6
 
Ptr< Socketm_tempSinkSocket_7
 
Ptr< Socketm_tempSinkSocket_8
 
uint32_t m_thresholdPeriodExchange
 
TypeId m_tid
 
uint32_t m_totalRx
 Total bytes received. More...
 
uint64_t m_totBytes
 Total bytes sent so far. More...
 
TracedCallback< Ptr< const Packet > > m_txTrace
 

Additional Inherited Members

- Public Types inherited from ns3::Application
typedef void(* DelayAddressCallback) (const Time &delay, const Address &from)
 Common callback signature for packet delay and address. More...
 
typedef void(* StateTransitionCallback) (const std::string &oldState, const std::string &newState)
 Common signature used by callbacks to application's state transition trace source. More...
 
- Protected Attributes inherited from ns3::Application
Ptr< Nodem_node
 The node that this application is installed on. More...
 
EventId m_startEvent
 The event that will fire at m_startTime to start the application. More...
 
Time m_startTime
 The simulation time that the application will start. More...
 
EventId m_stopEvent
 The event that will fire at m_stopTime to end the application. More...
 
Time m_stopTime
 The simulation time that the application will end. More...
 

Detailed Description

Config Paths

ns3::QKDChargingApplication is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/ApplicationList/[i]/$ns3::QKDChargingApplication"

Attributes

  • ThrPeriod: The period for exchange of Threshold packets.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 15
    • Flags: construct write read
  • KeyRate: The amount of data to be added to QKD Buffer (in bits).
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 100000
    • Flags: construct write read
  • DataRate: The average data rate of communication.
    • Set with class: DataRateValue
    • Underlying type: DataRate
    • Initial value: 650000bps
    • Flags: construct write read
  • PacketSize: The size of packets sent in post-processing state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 320
    • Flags: construct write read
  • MaxPackets: The size of packets sent in post-processing state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 1270
    • Flags: construct write read
  • MaxAuthPackets: The size of packets sent in auth state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 540
    • Flags: construct write read
  • MaxSiftingPackets: The size of packets sent in sifting state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 330
    • Flags: construct write read
  • MaxTemp1Packets: The size of packets sent in temp1 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 200
    • Flags: construct write read
  • MaxTemp2Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 190
    • Flags: construct write read
  • MaxTemp3Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 190
    • Flags: construct write read
  • MaxTemp4Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 190
    • Flags: construct write read
  • MaxTemp5Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 18
    • Flags: construct write read
  • MaxTemp6Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 1
    • Flags: construct write read
  • MaxTemp7Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 8
    • Flags: construct write read
  • MaxTemp8Packets: The size of packets sent in temp2 state
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 1:4294967295
    • Initial value: 1
    • Flags: construct write read
  • Protocol: The type of protocol to use.
  • Remote: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Sifting: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Sifting: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Auth: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Auth: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Mthreshold: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Mthreshold: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp1: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp1: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp2: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp2: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp3: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp3: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp4: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp4: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp5: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp5: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp6: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp6: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp7: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp7: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Remote_Temp8: The address of the destination
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read
  • Local_Temp8: The Address on which to Bind the rx socket.
    • Set with class: AddressValue
    • Underlying type: Address
    • Initial value: 00-00-00
    • Flags: construct write read

Attributes defined in parent class ns3::Application

  • StartTime: Time at which the application will start
    • Set with class: ns3::TimeValue
    • Underlying type: Time –9223372036854775808.0ns:+9223372036854775807.0ns
    • Initial value: +0.0ns
    • Flags: construct write read
  • StopTime: Time at which the application will stop
    • Set with class: ns3::TimeValue
    • Underlying type: Time –9223372036854775808.0ns:+9223372036854775807.0ns
    • Initial value: +0.0ns
    • Flags: construct write read

TraceSources

  • Tx: A new packet is created and is sent
    Callback signature: ns3::QKDChargingApplication::Tx
  • Rx: A packet has been received
    Callback signature: ns3::QKDChargingApplication::Rx

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

Definition at line 49 of file qkd-charging-application.h.

Constructor & Destructor Documentation

ns3::QKDChargingApplication::~QKDChargingApplication ( )
virtual

Definition at line 264 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

void ns3::QKDChargingApplication::ConnectionFailed ( Ptr< Socket socket)
private

Definition at line 1869 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedAuth ( Ptr< Socket socket)
private

Definition at line 1881 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedMthreshold ( Ptr< Socket socket)
private

Definition at line 1875 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedSifting ( Ptr< Socket socket)
private

Definition at line 1887 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp1 ( Ptr< Socket socket)
private

Definition at line 1893 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp2 ( Ptr< Socket socket)
private

Definition at line 1899 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp3 ( Ptr< Socket socket)
private

Definition at line 1905 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp4 ( Ptr< Socket socket)
private

Definition at line 1911 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp5 ( Ptr< Socket socket)
private

Definition at line 1917 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp6 ( Ptr< Socket socket)
private

Definition at line 1923 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp7 ( Ptr< Socket socket)
private

Definition at line 1929 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionFailedtemp8 ( Ptr< Socket socket)
private

Definition at line 1935 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceeded ( Ptr< Socket socket)
private

Definition at line 1773 of file qkd-charging-application.cc.

References m_connected, m_master, m_sendSocket, m_sinkSocket, NS_LOG_FUNCTION, and SendData().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededAuth ( Ptr< Socket socket)
private

Definition at line 1798 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededMthreshold ( Ptr< Socket socket)
private

Definition at line 1785 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and SendMthresholdPacket().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededSifting ( Ptr< Socket socket)
private

Definition at line 1808 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp1 ( Ptr< Socket socket)
private

Definition at line 1814 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp2 ( Ptr< Socket socket)
private

Definition at line 1820 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp3 ( Ptr< Socket socket)
private

Definition at line 1826 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and SendDataTemp3().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp4 ( Ptr< Socket socket)
private

Definition at line 1835 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and SendDataTemp4().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp5 ( Ptr< Socket socket)
private

Definition at line 1844 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp6 ( Ptr< Socket socket)
private

Definition at line 1850 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp7 ( Ptr< Socket socket)
private

Definition at line 1856 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::ConnectionSucceededtemp8 ( Ptr< Socket socket)
private

Definition at line 1862 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::DataSend ( Ptr< Socket ,
uint32_t   
)
private

Definition at line 1946 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::DoDispose ( void  )
protectedvirtual

Destructor implementation.

This method is called by Dispose() or by the Object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.

It is safe to call GetObject() from within this method.

Reimplemented from ns3::Application.

Definition at line 437 of file qkd-charging-application.cc.

References ns3::Simulator::Cancel(), ns3::Application::DoDispose(), m_sendEvent, m_sendSocket, m_sendSocket_auth, m_sendSocket_mthreshold, m_sendSocket_sifting, m_sinkSocket, m_sinkSocket_auth, m_sinkSocket_mthreshold, m_sinkSocket_sifting, m_sinkSocketList, m_tempSendSocket_1, m_tempSendSocket_2, m_tempSendSocket_3, m_tempSendSocket_4, m_tempSendSocket_5, m_tempSendSocket_6, m_tempSendSocket_7, m_tempSendSocket_8, m_tempSinkSocket_1, m_tempSinkSocket_2, m_tempSinkSocket_3, m_tempSinkSocket_4, m_tempSinkSocket_5, m_tempSinkSocket_6, m_tempSinkSocket_7, m_tempSinkSocket_8, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

std::list< Ptr< Socket > > ns3::QKDChargingApplication::GetAcceptedSockets ( void  ) const
Returns
list of pointers to accepted sockets

Definition at line 278 of file qkd-charging-application.cc.

References m_sinkSocketList, and NS_LOG_FUNCTION.

Time ns3::QKDChargingApplication::GetLastAckTime ( )

Definition at line 1957 of file qkd-charging-application.cc.

References m_lastAck, and NS_LOG_FUNCTION.

Ptr<Socket> ns3::QKDChargingApplication::GetListeningSocket ( void  ) const
Returns
pointer to listening socket
Ptr< Socket > ns3::QKDChargingApplication::GetSendSocket ( void  ) const
Returns
pointer to associated socket

Definition at line 293 of file qkd-charging-application.cc.

References m_sendSocket, and NS_LOG_FUNCTION.

Ptr< Socket > ns3::QKDChargingApplication::GetSinkSocket ( void  ) const

Definition at line 285 of file qkd-charging-application.cc.

References m_sinkSocket, and NS_LOG_FUNCTION.

uint32_t ns3::QKDChargingApplication::GetTotalRx ( ) const
Returns
the total bytes received in this sink app

Definition at line 270 of file qkd-charging-application.cc.

References m_totalRx, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::HandleAccept ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1694 of file qkd-charging-application.cc.

References HandleRead(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptAuth ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1701 of file qkd-charging-application.cc.

References HandleReadAuth(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptMthreshold ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1715 of file qkd-charging-application.cc.

References HandleReadMthreshold(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptSifting ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1708 of file qkd-charging-application.cc.

References HandleReadSifting(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp1 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1722 of file qkd-charging-application.cc.

References HandleReadTemp1(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp2 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1729 of file qkd-charging-application.cc.

References HandleReadTemp2(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp3 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1736 of file qkd-charging-application.cc.

References HandleReadTemp3(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp4 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1742 of file qkd-charging-application.cc.

References HandleReadTemp4(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp5 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1748 of file qkd-charging-application.cc.

References HandleReadTemp5(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp6 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1754 of file qkd-charging-application.cc.

References HandleReadTemp6(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp7 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1760 of file qkd-charging-application.cc.

References HandleReadTemp7(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleAcceptTemp8 ( Ptr< Socket socket,
const Address from 
)
private

Handle an incoming connection.

Parameters
socketthe incoming connection socket
fromthe address the connection is from

Definition at line 1766 of file qkd-charging-application.cc.

References HandleReadTemp8(), m_sinkSocketList, ns3::MakeCallback(), NS_LOG_FUNCTION, and ns3::Socket::SetRecvCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandlePeerClose ( Ptr< Socket socket)
private

Handle an connection close.

Parameters
socketthe connected socket

Definition at line 1684 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandlePeerError ( Ptr< Socket socket)
private

Handle an connection error.

Parameters
socketthe connected socket

Definition at line 1689 of file qkd-charging-application.cc.

References NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleRead ( Ptr< Socket socket)
private

Handle a packet received by the application.

Parameters
socketthe receiving socket

Definition at line 1382 of file qkd-charging-application.cc.

References ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::InetSocketAddress::GetPort(), ns3::Packet::GetSize(), ns3::Packet::GetUid(), ns3::InetSocketAddress::IsMatchingType(), m_master, m_rxTrace, m_totalRx, ns3::Simulator::Now(), NS_LOG_FUNCTION, ProcessIncomingPacket(), and ns3::Socket::RecvFrom().

Referenced by HandleAccept(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadAuth ( Ptr< Socket socket)
private

Handle a packet received by the application.

Parameters
socketthe receiving socket

Definition at line 1449 of file qkd-charging-application.cc.

References ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::InetSocketAddress::GetPort(), ns3::Packet::GetSize(), ns3::Packet::GetUid(), ns3::InetSocketAddress::IsMatchingType(), m_master, m_totalRx, ns3::Simulator::Now(), NS_LOG_FUNCTION, and ns3::Socket::RecvFrom().

Referenced by HandleAcceptAuth(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadMthreshold ( Ptr< Socket socket)
private

Handle a packet received by the application.

Parameters
socketthe receiving socket

Definition at line 1444 of file qkd-charging-application.cc.

Referenced by HandleAcceptMthreshold(), and StartApplication().

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadSifting ( Ptr< Socket socket)
private

Handle a packet received by the application.

Parameters
socketthe receiving socket

Definition at line 1421 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptSifting(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp1 ( Ptr< Socket socket)
private

Definition at line 1484 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp1(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp2 ( Ptr< Socket socket)
private

Definition at line 1501 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp2(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp3 ( Ptr< Socket socket)
private

Definition at line 1518 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp3(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp4 ( Ptr< Socket socket)
private

Definition at line 1535 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp4(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp5 ( Ptr< Socket socket)
private

Definition at line 1552 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp5(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp6 ( Ptr< Socket socket)
private

Definition at line 1568 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp6(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp7 ( Ptr< Socket socket)
private

Definition at line 1584 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp7(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::HandleReadTemp8 ( Ptr< Socket socket)
private

Definition at line 1601 of file qkd-charging-application.cc.

References m_master, NS_LOG_FUNCTION, and ns3::Socket::Recv().

Referenced by HandleAcceptTemp8(), and StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::Ignore ( Ptr< Socket socket)
private
void ns3::QKDChargingApplication::PrepareOutput ( std::string  key,
uint32_t  value 
)
void ns3::QKDChargingApplication::ProcessIncomingPacket ( Ptr< Packet packet,
Ptr< Socket socket 
)
private
void ns3::QKDChargingApplication::RegisterAckTime ( Time  oldRtt,
Time  newRtt 
)
private

Definition at line 1951 of file qkd-charging-application.cc.

References m_lastAck, ns3::Simulator::Now(), and NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendAuthPacket ( void  )
private

Send AUTH packet to the socket.

Parameters
Packetto be sent

Definition at line 1161 of file qkd-charging-application.cc.

References ns3::Packet::GetSize(), ns3::Packet::GetUid(), ns3::UniformRandomVariable::GetValue(), m_maxPackets_auth, m_packetNumber_auth, m_random, m_sendSocket_auth, ns3::MicroSeconds(), NS_LOG_FUNCTION, ns3::Simulator::Schedule(), and ns3::Socket::Send().

Referenced by SendSiftingPacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendData ( void  )
private

Definition at line 1066 of file qkd-charging-application.cc.

References m_keyRate, m_master, m_maxPackets, m_packetNumber, m_qkdPacketNumber, m_sendDevice, m_sendKeyRateMessage, m_sinkDevice, NS_LOG_DEBUG, NS_LOG_FUNCTION, and PrepareOutput().

Referenced by ConnectionSucceeded(), and ProcessIncomingPacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendDataTemp1 ( void  )
private
void ns3::QKDChargingApplication::SendDataTemp2 ( void  )
private
void ns3::QKDChargingApplication::SendDataTemp3 ( void  )
private

Definition at line 1217 of file qkd-charging-application.cc.

References ns3::Packet::GetSize(), ns3::Packet::GetUid(), ns3::UniformRandomVariable::GetValue(), m_random, m_tempSendSocket_3, ns3::MicroSeconds(), NS_LOG_FUNCTION, ns3::Simulator::Schedule(), and ns3::Socket::Send().

Referenced by ConnectionSucceededtemp3().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendDataTemp4 ( void  )
private

Definition at line 1265 of file qkd-charging-application.cc.

References ns3::Packet::GetSize(), ns3::Packet::GetUid(), ns3::UniformRandomVariable::GetValue(), m_random, m_tempSendSocket_4, ns3::MicroSeconds(), NS_LOG_FUNCTION, ns3::Simulator::Schedule(), and ns3::Socket::Send().

Referenced by ConnectionSucceededtemp4().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendDataTemp5 ( void  )
private
void ns3::QKDChargingApplication::SendDataTemp6 ( void  )
private
void ns3::QKDChargingApplication::SendDataTemp7 ( void  )
private
void ns3::QKDChargingApplication::SendDataTemp8 ( void  )
private
void ns3::QKDChargingApplication::SendMthresholdPacket ( void  )
private

Send Mthreshold packet to the socket.

Parameters
Packetto be sent

Definition at line 1438 of file qkd-charging-application.cc.

References ns3::Simulator::Now(), and NS_LOG_FUNCTION.

Referenced by ConnectionSucceededMthreshold(), and ProcessIncomingPacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendPacket ( Ptr< Packet packet)
private

Send packet to the socket.

Parameters
Packetto be sent

Definition at line 1125 of file qkd-charging-application.cc.

References ns3::Packet::GetSize(), ns3::Packet::GetUid(), m_connected, m_sendSocket, m_txTrace, NS_LOG_DEBUG, and ns3::Socket::Send().

Referenced by PrepareOutput().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::QKDChargingApplication::SendSiftingPacket ( void  )
private
void ns3::QKDChargingApplication::SetAuthSocket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 315 of file qkd-charging-application.cc.

References m_sendSocket_auth, m_sinkSocket_auth, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetSiftingSocket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 327 of file qkd-charging-application.cc.

References m_sendSocket_sifting, m_sinkSocket_sifting, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetSocket ( std::string  type,
Ptr< Socket socket,
Ptr< NetDevice dev,
bool  isMaster 
)
Parameters
socketpointer to socket to be set

Definition at line 300 of file qkd-charging-application.cc.

References m_master, m_sendDevice, m_sendSocket, m_sinkDevice, m_sinkSocket, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp1Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 339 of file qkd-charging-application.cc.

References m_tempSendSocket_1, m_tempSinkSocket_1, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp2Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 351 of file qkd-charging-application.cc.

References m_tempSendSocket_2, m_tempSinkSocket_2, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp3Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 363 of file qkd-charging-application.cc.

References m_tempSendSocket_3, m_tempSinkSocket_3, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp4Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 375 of file qkd-charging-application.cc.

References m_tempSendSocket_4, m_tempSinkSocket_4, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp5Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 387 of file qkd-charging-application.cc.

References m_tempSendSocket_5, m_tempSinkSocket_5, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp6Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 399 of file qkd-charging-application.cc.

References m_tempSendSocket_6, m_tempSinkSocket_6, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp7Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 411 of file qkd-charging-application.cc.

References m_tempSendSocket_7, m_tempSinkSocket_7, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::SetTemp8Socket ( std::string  type,
Ptr< Socket socket 
)
Parameters
socketpointer to socket to be set

Definition at line 423 of file qkd-charging-application.cc.

References m_tempSendSocket_8, m_tempSinkSocket_8, and NS_LOG_FUNCTION.

void ns3::QKDChargingApplication::StartApplication ( void  )
privatevirtual

Application specific startup code.

The StartApplication method is called at the start time specified by Start This method should be overridden by all or most application subclasses.

Reimplemented from ns3::Application.

Definition at line 473 of file qkd-charging-application.cc.

References ns3::Socket::Bind(), ns3::Socket::BindToNetDevice(), ns3::Socket::Connect(), ConnectionFailed(), ConnectionFailedAuth(), ConnectionFailedMthreshold(), ConnectionFailedSifting(), ConnectionFailedtemp1(), ConnectionFailedtemp2(), ConnectionFailedtemp3(), ConnectionFailedtemp4(), ConnectionFailedtemp5(), ConnectionFailedtemp6(), ConnectionFailedtemp7(), ConnectionFailedtemp8(), ConnectionSucceeded(), ConnectionSucceededAuth(), ConnectionSucceededMthreshold(), ConnectionSucceededSifting(), ConnectionSucceededtemp1(), ConnectionSucceededtemp2(), ConnectionSucceededtemp3(), ConnectionSucceededtemp4(), ConnectionSucceededtemp5(), ConnectionSucceededtemp6(), ConnectionSucceededtemp7(), ConnectionSucceededtemp8(), ns3::Socket::CreateSocket(), DataSend(), ns3::Application::GetNode(), HandleAccept(), HandleAcceptAuth(), HandleAcceptMthreshold(), HandleAcceptSifting(), HandleAcceptTemp1(), HandleAcceptTemp2(), HandleAcceptTemp3(), HandleAcceptTemp4(), HandleAcceptTemp5(), HandleAcceptTemp6(), HandleAcceptTemp7(), HandleAcceptTemp8(), HandlePeerClose(), HandlePeerError(), HandleRead(), HandleReadAuth(), HandleReadMthreshold(), HandleReadSifting(), HandleReadTemp1(), HandleReadTemp2(), HandleReadTemp3(), HandleReadTemp4(), HandleReadTemp5(), HandleReadTemp6(), HandleReadTemp7(), HandleReadTemp8(), ns3::Socket::Listen(), m_local, m_local_auth, m_local_mthreshold, m_local_sifting, m_local_temp1, m_local_temp2, m_local_temp3, m_local_temp4, m_local_temp5, m_local_temp6, m_local_temp7, m_local_temp8, m_master, m_peer, m_peer_auth, m_peer_mthreshold, m_peer_sifting, m_peer_temp1, m_peer_temp2, m_peer_temp3, m_peer_temp4, m_peer_temp5, m_peer_temp6, m_peer_temp7, m_peer_temp8, m_random, m_sendDevice, m_sendSocket, m_sendSocket_auth, m_sendSocket_mthreshold, m_sendSocket_sifting, m_sinkDevice, m_sinkSocket, m_sinkSocket_auth, m_sinkSocket_mthreshold, m_sinkSocket_sifting, m_tempSendSocket_1, m_tempSendSocket_2, m_tempSendSocket_3, m_tempSendSocket_4, m_tempSendSocket_5, m_tempSendSocket_6, m_tempSendSocket_7, m_tempSendSocket_8, m_tempSinkSocket_1, m_tempSinkSocket_2, m_tempSinkSocket_3, m_tempSinkSocket_4, m_tempSinkSocket_5, m_tempSinkSocket_6, m_tempSinkSocket_7, m_tempSinkSocket_8, m_tid, ns3::MakeCallback(), ns3::MakeNullCallback(), NS_LOG_FUNCTION, RegisterAckTime(), ns3::Socket::SetAcceptCallback(), ns3::Socket::SetCloseCallbacks(), ns3::Socket::SetConnectCallback(), ns3::Socket::SetDataSentCallback(), ns3::Socket::SetIpRecvTos(), ns3::Socket::SetIpRecvTtl(), ns3::Socket::SetIpTos(), ns3::Socket::SetIpTtl(), ns3::Socket::SetRecvCallback(), ns3::Socket::ShutdownRecv(), ns3::Socket::ShutdownSend(), and ns3::ObjectBase::TraceConnectWithoutContext().

void ns3::QKDChargingApplication::StopApplication ( void  )
privatevirtual

Application specific shutdown code.

The StopApplication method is called at the stop time specified by Stop This method should be overridden by all or most application subclasses.

Reimplemented from ns3::Application.

Definition at line 1034 of file qkd-charging-application.cc.

References ns3::Simulator::Cancel(), ns3::Socket::Close(), m_connected, m_sendEvent, m_sendSocket, m_sinkSocket, m_sinkSocketList, ns3::MakeNullCallback(), NS_LOG_FUNCTION, NS_LOG_WARN, and ns3::Socket::SetRecvCallback().

+ Here is the call graph for this function:

Member Data Documentation

DataRate ns3::QKDChargingApplication::m_cbrRate
private

Rate that data is generatedm_pktSize.

Definition at line 421 of file qkd-charging-application.h.

Referenced by GetTypeId(), and PrepareOutput().

bool ns3::QKDChargingApplication::m_connected
private
uint32_t ns3::QKDChargingApplication::m_keyRate
private

Definition at line 408 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendData().

Time ns3::QKDChargingApplication::m_lastAck
private

Definition at line 415 of file qkd-charging-application.h.

Referenced by GetLastAckTime(), and RegisterAckTime().

Address ns3::QKDChargingApplication::m_local
private

Local address to bind to.

Definition at line 369 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_auth
private

Local address to bind to.

Definition at line 378 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_mthreshold
private

Local address to bind to.

Definition at line 375 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_sifting
private

Local address to bind to.

Definition at line 372 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp1
private

Local address to bind to.

Definition at line 381 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp2
private

Local address to bind to.

Definition at line 384 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp3
private

Local address to bind to.

Definition at line 387 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp4
private

Local address to bind to.

Definition at line 390 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp5
private

Local address to bind to.

Definition at line 393 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp6
private

Local address to bind to.

Definition at line 396 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp7
private

Local address to bind to.

Definition at line 399 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_local_temp8
private

Local address to bind to.

Definition at line 402 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

uint32_t ns3::QKDChargingApplication::m_maxPackets
private

Definition at line 411 of file qkd-charging-application.h.

Referenced by GetTypeId(), ProcessIncomingPacket(), and SendData().

uint32_t ns3::QKDChargingApplication::m_maxPackets_auth
private

Definition at line 438 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendAuthPacket().

uint32_t ns3::QKDChargingApplication::m_maxPackets_sifting
private

Definition at line 435 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendSiftingPacket().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp1
private

Definition at line 441 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp1().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp2
private

Definition at line 444 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp2().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp3
private

Definition at line 447 of file qkd-charging-application.h.

Referenced by GetTypeId().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp4
private

Definition at line 450 of file qkd-charging-application.h.

Referenced by GetTypeId().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp5
private

Definition at line 453 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp5().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp6
private

Definition at line 456 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp6().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp7
private

Definition at line 459 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp7().

uint32_t ns3::QKDChargingApplication::m_maxPackets_temp8
private

Definition at line 462 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendDataTemp8().

bool ns3::QKDChargingApplication::m_odd
private

Definition at line 404 of file qkd-charging-application.h.

uint32_t ns3::QKDChargingApplication::m_packetNumber
private
uint32_t ns3::QKDChargingApplication::m_packetNumber_auth
private

Definition at line 437 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendAuthPacket().

uint32_t ns3::QKDChargingApplication::m_packetNumber_sifting
private

Definition at line 434 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendSiftingPacket().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp1
private

Definition at line 440 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp1().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp2
private

Definition at line 443 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp2().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp3
private

Definition at line 446 of file qkd-charging-application.h.

Referenced by QKDChargingApplication().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp4
private

Definition at line 449 of file qkd-charging-application.h.

Referenced by QKDChargingApplication().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp5
private

Definition at line 452 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp5().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp6
private

Definition at line 455 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp6().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp7
private

Definition at line 458 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp7().

uint32_t ns3::QKDChargingApplication::m_packetNumber_temp8
private

Definition at line 461 of file qkd-charging-application.h.

Referenced by QKDChargingApplication(), and SendDataTemp8().

Address ns3::QKDChargingApplication::m_peer
private

Definition at line 368 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_auth
private

Definition at line 377 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_mthreshold
private

Definition at line 374 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_sifting
private

Definition at line 371 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp1
private

Definition at line 380 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp2
private

Definition at line 383 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp3
private

Definition at line 386 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp4
private

Definition at line 389 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp5
private

Definition at line 392 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp6
private

Definition at line 395 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp7
private

Definition at line 398 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

Address ns3::QKDChargingApplication::m_peer_temp8
private

Definition at line 401 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

uint32_t ns3::QKDChargingApplication::m_pktSize
private

Size of packets.

Definition at line 422 of file qkd-charging-application.h.

Referenced by GetTypeId(), and PrepareOutput().

double ns3::QKDChargingApplication::m_qkdPacketNumber
private
double ns3::QKDChargingApplication::m_qkdTotalTime
private

Definition at line 426 of file qkd-charging-application.h.

Referenced by QKDChargingApplication().

TracedCallback<Ptr<const Packet>, const Address &> ns3::QKDChargingApplication::m_rxTrace
private

Traced Callback: received packets, source address.

Definition at line 429 of file qkd-charging-application.h.

Referenced by GetTypeId(), and HandleRead().

Ptr<NetDevice> ns3::QKDChargingApplication::m_sendDevice
private
EventId ns3::QKDChargingApplication::m_sendEvent
private

Event id of pending "send packet" event.

Definition at line 418 of file qkd-charging-application.h.

Referenced by DoDispose(), PrepareOutput(), and StopApplication().

bool ns3::QKDChargingApplication::m_sendKeyRateMessage
private
Ptr<Socket> ns3::QKDChargingApplication::m_sendSocket
private

IMITATE post-processing traffic (CASCADE, PRIVACY AMPLIFICATION and etc.

)

Definition at line 326 of file qkd-charging-application.h.

Referenced by ConnectionSucceeded(), DoDispose(), GetSendSocket(), SendPacket(), SetSocket(), StartApplication(), and StopApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_sendSocket_auth
private

Sockets used for authentication.

Definition at line 341 of file qkd-charging-application.h.

Referenced by DoDispose(), SendAuthPacket(), SetAuthSocket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_sendSocket_mthreshold
private

Sockets used for mthreshold value exchange.

Definition at line 336 of file qkd-charging-application.h.

Referenced by DoDispose(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_sendSocket_sifting
private

Sockets used for SIFTING.

Definition at line 331 of file qkd-charging-application.h.

Referenced by DoDispose(), SendSiftingPacket(), SetSiftingSocket(), and StartApplication().

Ptr<NetDevice> ns3::QKDChargingApplication::m_sinkDevice
private
Ptr<Socket> ns3::QKDChargingApplication::m_sinkSocket
private
Ptr<Socket> ns3::QKDChargingApplication::m_sinkSocket_auth
private

Definition at line 342 of file qkd-charging-application.h.

Referenced by DoDispose(), SetAuthSocket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_sinkSocket_mthreshold
private

Definition at line 337 of file qkd-charging-application.h.

Referenced by DoDispose(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_sinkSocket_sifting
private

Definition at line 332 of file qkd-charging-application.h.

Referenced by DoDispose(), SetSiftingSocket(), and StartApplication().

uint32_t ns3::QKDChargingApplication::m_status
private

Definition at line 432 of file qkd-charging-application.h.

Referenced by QKDChargingApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_1
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_2
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_3
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_4
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_5
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_6
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_7
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSendSocket_8
private
Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_1
private

Definition at line 345 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp1Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_2
private

Definition at line 348 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp2Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_3
private

Definition at line 351 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp3Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_4
private

Definition at line 354 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp4Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_5
private

Definition at line 357 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp5Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_6
private

Definition at line 360 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp6Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_7
private

Definition at line 363 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp7Socket(), and StartApplication().

Ptr<Socket> ns3::QKDChargingApplication::m_tempSinkSocket_8
private

Definition at line 366 of file qkd-charging-application.h.

Referenced by DoDispose(), SetTemp8Socket(), and StartApplication().

uint32_t ns3::QKDChargingApplication::m_thresholdPeriodExchange
private

Definition at line 406 of file qkd-charging-application.h.

Referenced by GetTypeId().

TypeId ns3::QKDChargingApplication::m_tid
private

Definition at line 423 of file qkd-charging-application.h.

Referenced by GetTypeId(), and StartApplication().

uint32_t ns3::QKDChargingApplication::m_totalRx
private

Total bytes received.

Definition at line 413 of file qkd-charging-application.h.

Referenced by GetTotalRx(), HandleRead(), HandleReadAuth(), and QKDChargingApplication().

uint64_t ns3::QKDChargingApplication::m_totBytes
private

Total bytes sent so far.

Definition at line 420 of file qkd-charging-application.h.

TracedCallback<Ptr<const Packet> > ns3::QKDChargingApplication::m_txTrace
private

Definition at line 430 of file qkd-charging-application.h.

Referenced by GetTypeId(), and SendPacket().


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