A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::EpcMme Class Reference

This object implements the MME functionality. More...

#include <epc-mme.h>

+ Inheritance diagram for ns3::EpcMme:

Classes

struct  BearerInfo
 
struct  EnbInfo
 
struct  UeInfo
 

Public Member Functions

 EpcMme ()
 
virtual ~EpcMme ()
 
void AddBearer (uint64_t imsi, Ptr< EpcTft > tft, EpsBearer bearer)
 
void AddEnb (uint16_t egci, Ipv4Address enbS1UAddr, EpcS1apSapEnb *enbS1apSap)
 
void AddUe (uint64_t imsi)
 
EpcS11SapMmeGetS11SapMme ()
 
EpcS1apSapMmeGetS1apSapMme ()
 
void SetS11SapSgw (EpcS11SapSgw *s)
 
- Public Member Functions inherited from ns3::Object
void AggregateObject (Ptr< Object > other)
 
void Dispose (void)
 
AggregateIterator GetAggregateIterator (void) const
 
virtual TypeId GetInstanceTypeId (void) const
 
template<typename T >
Ptr< T > GetObject (void) const
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 
void Initialize (void)
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 
- Public Member Functions inherited from ns3::ObjectBase
void GetAttribute (std::string name, AttributeValue &value) const
 
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 

Protected Member Functions

virtual void DoDispose ()
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 
virtual void DoInitialize (void)
 
virtual void NotifyNewAggregate (void)
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 

Private Member Functions

void DoCreateSessionResponse (EpcS11SapMme::CreateSessionResponseMessage msg)
 
void DoInitialContextSetupResponse (uint64_t mmeUeS1Id, uint16_t enbUeS1Id, std::list< EpcS1apSapMme::ErabSetupItem > erabSetupList)
 
void DoInitialUeMessage (uint64_t mmeUeS1Id, uint16_t enbUeS1Id, uint64_t imsi, uint16_t ecgi)
 
void DoModifyBearerResponse (EpcS11SapMme::ModifyBearerResponseMessage msg)
 
void DoPathSwitchRequest (uint64_t enbUeS1Id, uint64_t mmeUeS1Id, uint16_t cgi, std::list< EpcS1apSapMme::ErabSwitchedInDownlinkItem > erabToBeSwitchedInDownlinkList)
 

Private Attributes

std::map< uint16_t, Ptr
< EnbInfo > > 
m_enbInfoMap
 
EpcS11SapMmem_s11SapMme
 
EpcS11SapSgwm_s11SapSgw
 
EpcS1apSapMmem_s1apSapMme
 
std::map< uint64_t, Ptr< UeInfo > > m_ueInfoMap
 

Friends

class MemberEpcS11SapMme< EpcMme >
 
class MemberEpcS1apSapMme< EpcMme >
 

Detailed Description

This object implements the MME functionality.

Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.

Definition at line 40 of file epc-mme.h.

Constructor & Destructor Documentation

ns3::EpcMme::EpcMme ( )

Constructor

Definition at line 38 of file epc-mme.cc.

References NS_LOG_FUNCTION.

ns3::EpcMme::~EpcMme ( )
virtual

Destructor

Definition at line 47 of file epc-mme.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

void ns3::EpcMme::AddBearer ( uint64_t  imsi,
Ptr< EpcTft tft,
EpsBearer  bearer 
)

Add an EPS bearer to the list of bearers to be activated for this UE. The bearer will be activated when the UE enters the ECM connected state.

Parameters
imsiUE identifier
tfttraffic flow template of the bearer
bearerQoS characteristics of the bearer

Definition at line 111 of file epc-mme.cc.

References m_ueInfoMap, NS_ASSERT_MSG, and NS_LOG_FUNCTION.

void ns3::EpcMme::AddEnb ( uint16_t  egci,
Ipv4Address  enbS1UAddr,
EpcS1apSapEnb enbS1apSap 
)

Add a new ENB to the MME.

Parameters
imsithe unique identifier of the UE
enbS1apSapthe ENB side of the S1-AP SAP

Definition at line 89 of file epc-mme.cc.

References m_enbInfoMap, and NS_LOG_FUNCTION.

void ns3::EpcMme::AddUe ( uint64_t  imsi)

Add a new UE to the MME. This is the equivalent of storing the UE credentials before the UE is ever turned on.

Parameters
imsithe unique identifier of the UE

Definition at line 100 of file epc-mme.cc.

References m_ueInfoMap, and NS_LOG_FUNCTION.

void ns3::EpcMme::DoDispose ( void  )
protectedvirtual

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

Subclasses are expected to implement their real destruction code in an overriden 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::Object.

Definition at line 53 of file epc-mme.cc.

References NS_LOG_FUNCTION.

EpcS11SapMme * ns3::EpcMme::GetS11SapMme ( )
Returns
the MME side of the S11 SAP

Definition at line 83 of file epc-mme.cc.

EpcS1apSapMme * ns3::EpcMme::GetS1apSapMme ( )
Returns
the MME side of the S1-AP SAP

Definition at line 71 of file epc-mme.cc.

void ns3::EpcMme::SetS11SapSgw ( EpcS11SapSgw s)

Set the SGW side of the S11 SAP

Parameters
sthe SGW side of the S11 SAP

Definition at line 77 of file epc-mme.cc.

Member Data Documentation

std::map<uint16_t, Ptr<EnbInfo> > ns3::EpcMme::m_enbInfoMap
private

EnbInfo stored by EGCI

Definition at line 170 of file epc-mme.h.

Referenced by AddEnb().

std::map<uint64_t, Ptr<UeInfo> > ns3::EpcMme::m_ueInfoMap
private

UeInfo stored by IMSI

Definition at line 153 of file epc-mme.h.

Referenced by AddBearer(), and AddUe().


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