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

X2IfaceInfo. More...

#include "epc-x2.h"

+ Inheritance diagram for ns3::X2IfaceInfo:
+ Collaboration diagram for ns3::X2IfaceInfo:

Public Member Functions

 X2IfaceInfo (Ipv4Address remoteIpAddr, Ptr< Socket > localCtrlPlaneSocket, Ptr< Socket > localUserPlaneSocket)
 Constructor. More...
 
virtual ~X2IfaceInfo ()
 
X2IfaceInfooperator= (const X2IfaceInfo &value)
 Assignment operator. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< X2IfaceInfo >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount () const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o[[maybe_unused]])
 Assignment operator. More...
 
void Ref () const
 Increment the reference count. More...
 
void Unref () const
 Decrement the reference count. More...
 

Public Attributes

Ptr< Socketm_localCtrlPlaneSocket
 local control plane socket More...
 
Ptr< Socketm_localUserPlaneSocket
 local user plane socket More...
 
Ipv4Address m_remoteIpAddr
 remote IP address More...
 

Detailed Description

X2IfaceInfo.

Definition at line 38 of file epc-x2.h.

Constructor & Destructor Documentation

◆ X2IfaceInfo()

ns3::X2IfaceInfo::X2IfaceInfo ( Ipv4Address  remoteIpAddr,
Ptr< Socket localCtrlPlaneSocket,
Ptr< Socket localUserPlaneSocket 
)

Constructor.

Parameters
remoteIpAddrremote IP address
localCtrlPlaneSocketcontrol plane socket
localUserPlaneSocketuser plane socket

Definition at line 35 of file epc-x2.cc.

References m_localCtrlPlaneSocket, m_localUserPlaneSocket, and m_remoteIpAddr.

◆ ~X2IfaceInfo()

ns3::X2IfaceInfo::~X2IfaceInfo ( )
virtual

Definition at line 44 of file epc-x2.cc.

References m_localCtrlPlaneSocket, and m_localUserPlaneSocket.

Member Function Documentation

◆ operator=()

X2IfaceInfo & ns3::X2IfaceInfo::operator= ( const X2IfaceInfo value)

Assignment operator.

Parameters
valuevalue to assign
Returns
X2IfaceInfo&

Definition at line 51 of file epc-x2.cc.

References m_localCtrlPlaneSocket, m_localUserPlaneSocket, m_remoteIpAddr, and NS_LOG_FUNCTION.

Member Data Documentation

◆ m_localCtrlPlaneSocket

Ptr<Socket> ns3::X2IfaceInfo::m_localCtrlPlaneSocket

local control plane socket

Definition at line 62 of file epc-x2.h.

Referenced by X2IfaceInfo(), ~X2IfaceInfo(), and operator=().

◆ m_localUserPlaneSocket

Ptr<Socket> ns3::X2IfaceInfo::m_localUserPlaneSocket

local user plane socket

Definition at line 63 of file epc-x2.h.

Referenced by X2IfaceInfo(), ~X2IfaceInfo(), and operator=().

◆ m_remoteIpAddr

Ipv4Address ns3::X2IfaceInfo::m_remoteIpAddr

remote IP address

Definition at line 61 of file epc-x2.h.

Referenced by X2IfaceInfo(), and operator=().


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