A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
sample-simulator Namespace Reference

Functions

def CancelledEvent ()
 Example function - triggered if an event is canceled (should not be called).
 
def RandomFunction ()
 Example function - triggered at a random time.
 

Variables

 try :
 Import ns-3.
 

Function Documentation

◆ CancelledEvent()

def sample-simulator.CancelledEvent ( )

Example function - triggered if an event is canceled (should not be called).

Returns
None.

Definition at line 46 of file sample-simulator.py.

◆ RandomFunction()

def sample-simulator.RandomFunction ( )

Example function - triggered at a random time.

Returns
None.

Definition at line 40 of file sample-simulator.py.

Variable Documentation

◆ try

sample-simulator.try :

Import ns-3.

Definition at line 28 of file sample-simulator.py.