Public Member Functions | Static Public Attributes | Private Attributes | List of all members
mm2client.BandSettings Class Reference
Inheritance diagram for mm2client.BandSettings:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, bandnumber, leftflag)
 
def AsDict (self)
 
def BandNumber (self)
 
def CorruptionAmount (self)
 
def CorruptionCorrelation (self)
 
def DelayAmount (self)
 
def DelayCorrelation (self)
 
def DelayDistribution (self)
 
def DelayReorder (self)
 
def DelayVariation (self)
 
def DropAmount (self)
 
def DropCorrelation (self)
 
def DupAmount (self)
 
def DupCorrelation (self)
 
def LeftFlag (self)
 
def RateLimit (self)
 
def ReorderAmount (self)
 
def ReorderCorrelation (self)
 
def ReorderGap (self)
 
def SetByCnfigName (self, name, val)
 
def SetCorruptionAmount (self, val)
 
def SetCorruptionCorrelation (self, val)
 
def SetDefaults (self)
 
def SetDelayAmount (self, val)
 
def SetDelayCorrelation (self, val)
 
def SetDelayDistribution (self, val)
 
def SetDelayReorder (self, val)
 
def SetDelayVariation (self, val)
 
def SetDropAmount (self, val)
 
def SetDropCorrelation (self, val)
 
def SetDupAmount (self, val)
 
def SetDupCorrelation (self, val)
 
def SetRateLimit (self, val)
 
def SetReorderAmount (self, val)
 
def SetReorderCorrelation (self, val)
 
def SetReorderGap (self, val)
 
def Validate (self)
 

Static Public Attributes

tuple MM_DELAY_DISTRIBUTIONS
 
int MM_MAXRATE = 100000000
 MM_MAXRATE = 1000000000 # 1 gigabit, 1x10**9. More...
 
string PCNTFMT = "2.5f"
 
dictionary SetProcs
 

Private Attributes

 __BandNumber
 
 __CorruptionAmount
 
 __CorruptionCorrelation
 
 __DelayAmount
 
 __DelayCorrelation
 
 __DelayDistribution
 
 __DelayReorder
 
 __DelayVariation
 
 __DropAmount
 
 __DropCorrelation
 
 __DupAmount
 
 __DupCorrelation
 
 __LeftFlag
 
 __RateLimit
 
 __ReorderAmount
 
 __ReorderCorrelation
 
 __ReorderGap
 

Detailed Description

Definition at line 85 of file mm2client.py.

Constructor & Destructor Documentation

def mm2client.BandSettings.__init__ (   self,
  bandnumber,
  leftflag 
)
@param bandnumber: Band number, an integer in range 1..5
@type bandnumber: int or long
@param leftflag: True if LAN-A to LAN-B, false if LAN-B to LAN-A
@type leftflag: bool

Definition at line 112 of file mm2client.py.

Member Function Documentation

def mm2client.BandSettings.AsDict (   self)

Definition at line 316 of file mm2client.py.

def mm2client.BandSettings.BandNumber (   self)

Definition at line 135 of file mm2client.py.

def mm2client.BandSettings.CorruptionAmount (   self)

Definition at line 191 of file mm2client.py.

def mm2client.BandSettings.CorruptionCorrelation (   self)

Definition at line 195 of file mm2client.py.

def mm2client.BandSettings.DelayAmount (   self)

Definition at line 143 of file mm2client.py.

def mm2client.BandSettings.DelayCorrelation (   self)

Definition at line 151 of file mm2client.py.

def mm2client.BandSettings.DelayDistribution (   self)

Definition at line 155 of file mm2client.py.

def mm2client.BandSettings.DelayReorder (   self)

Definition at line 159 of file mm2client.py.

def mm2client.BandSettings.DelayVariation (   self)

Definition at line 147 of file mm2client.py.

def mm2client.BandSettings.DropAmount (   self)

Definition at line 163 of file mm2client.py.

def mm2client.BandSettings.DropCorrelation (   self)

Definition at line 167 of file mm2client.py.

def mm2client.BandSettings.DupAmount (   self)

Definition at line 171 of file mm2client.py.

def mm2client.BandSettings.DupCorrelation (   self)

Definition at line 175 of file mm2client.py.

def mm2client.BandSettings.LeftFlag (   self)

Definition at line 139 of file mm2client.py.

def mm2client.BandSettings.RateLimit (   self)

Definition at line 199 of file mm2client.py.

def mm2client.BandSettings.ReorderAmount (   self)

Definition at line 183 of file mm2client.py.

def mm2client.BandSettings.ReorderCorrelation (   self)

Definition at line 187 of file mm2client.py.

def mm2client.BandSettings.ReorderGap (   self)

Definition at line 179 of file mm2client.py.

def mm2client.BandSettings.SetByCnfigName (   self,
  name,
  val 
)
Set an item using the name used in the Mini Maxwell configuration file.

Definition at line 307 of file mm2client.py.

def mm2client.BandSettings.SetCorruptionAmount (   self,
  val 
)

Definition at line 291 of file mm2client.py.

def mm2client.BandSettings.SetCorruptionCorrelation (   self,
  val 
)

Definition at line 296 of file mm2client.py.

def mm2client.BandSettings.SetDefaults (   self)

Definition at line 213 of file mm2client.py.

def mm2client.BandSettings.SetDelayAmount (   self,
  val 
)

Definition at line 231 of file mm2client.py.

def mm2client.BandSettings.SetDelayCorrelation (   self,
  val 
)

Definition at line 241 of file mm2client.py.

def mm2client.BandSettings.SetDelayDistribution (   self,
  val 
)

Definition at line 246 of file mm2client.py.

def mm2client.BandSettings.SetDelayReorder (   self,
  val 
)

Definition at line 253 of file mm2client.py.

def mm2client.BandSettings.SetDelayVariation (   self,
  val 
)

Definition at line 236 of file mm2client.py.

def mm2client.BandSettings.SetDropAmount (   self,
  val 
)

Definition at line 256 of file mm2client.py.

def mm2client.BandSettings.SetDropCorrelation (   self,
  val 
)

Definition at line 261 of file mm2client.py.

def mm2client.BandSettings.SetDupAmount (   self,
  val 
)

Definition at line 266 of file mm2client.py.

def mm2client.BandSettings.SetDupCorrelation (   self,
  val 
)

Definition at line 271 of file mm2client.py.

def mm2client.BandSettings.SetRateLimit (   self,
  val 
)

Definition at line 301 of file mm2client.py.

def mm2client.BandSettings.SetReorderAmount (   self,
  val 
)

Definition at line 281 of file mm2client.py.

def mm2client.BandSettings.SetReorderCorrelation (   self,
  val 
)

Definition at line 286 of file mm2client.py.

def mm2client.BandSettings.SetReorderGap (   self,
  val 
)

Definition at line 276 of file mm2client.py.

def mm2client.BandSettings.Validate (   self)

Definition at line 205 of file mm2client.py.

Member Data Documentation

mm2client.BandSettings.__BandNumber
private

Definition at line 126 of file mm2client.py.

mm2client.BandSettings.__CorruptionAmount
private

Definition at line 227 of file mm2client.py.

mm2client.BandSettings.__CorruptionCorrelation
private

Definition at line 228 of file mm2client.py.

mm2client.BandSettings.__DelayAmount
private

Definition at line 215 of file mm2client.py.

mm2client.BandSettings.__DelayCorrelation
private

Definition at line 217 of file mm2client.py.

mm2client.BandSettings.__DelayDistribution
private

Definition at line 218 of file mm2client.py.

mm2client.BandSettings.__DelayReorder
private

Definition at line 219 of file mm2client.py.

mm2client.BandSettings.__DelayVariation
private

Definition at line 216 of file mm2client.py.

mm2client.BandSettings.__DropAmount
private

Definition at line 220 of file mm2client.py.

mm2client.BandSettings.__DropCorrelation
private

Definition at line 221 of file mm2client.py.

mm2client.BandSettings.__DupAmount
private

Definition at line 222 of file mm2client.py.

mm2client.BandSettings.__DupCorrelation
private

Definition at line 223 of file mm2client.py.

mm2client.BandSettings.__LeftFlag
private

Definition at line 127 of file mm2client.py.

mm2client.BandSettings.__RateLimit
private

Definition at line 229 of file mm2client.py.

mm2client.BandSettings.__ReorderAmount
private

Definition at line 225 of file mm2client.py.

mm2client.BandSettings.__ReorderCorrelation
private

Definition at line 226 of file mm2client.py.

mm2client.BandSettings.__ReorderGap
private

Definition at line 224 of file mm2client.py.

tuple mm2client.BandSettings.MM_DELAY_DISTRIBUTIONS
static
Initial value:
1 = ("none", "normal", "pareto", "paretonormal",
2  "experimental")

Definition at line 89 of file mm2client.py.

int mm2client.BandSettings.MM_MAXRATE = 100000000
static

MM_MAXRATE = 1000000000 # 1 gigabit, 1x10**9.

Definition at line 87 of file mm2client.py.

string mm2client.BandSettings.PCNTFMT = "2.5f"
static

Definition at line 92 of file mm2client.py.

dictionary mm2client.BandSettings.SetProcs
static
Initial value:
1 = {
2  "delay_amount": "SetDelayAmount",
3  "delay_variation": "SetDelayVariation",
4  "delay_distribution": "SetDelayDistribution",
5  "delay_correlation": "SetDelayCorrelation",
6  "delay_reorder": "SetDelayReorder",
7  "drop_amount": "SetDropAmount",
8  "drop_correlation": "SetDropCorrelation",
9  "duplication_amount": "SetDupAmount",
10  "duplication_correlation": "SetDupCorrelation",
11  "reorder_gap": "SetReorderGap",
12  "reorder_correlation": "SetReorderCorrelation",
13  "reorder_amount": "SetReorderAmount",
14  "bitrate_limit": "SetRateLimit",
15  "corruption_amount": "SetCorruptionAmount",
16  "corruption_correlation": "SetCorruptionCorrelation"
17  }

Definition at line 94 of file mm2client.py.


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


mini_maxwell
Author(s): Yusuke Furuta
autogenerated on Wed Jul 10 2019 03:47:09