C# Class Brunet.Simulator.Transport.BrokenTAAuth

Randomly breaks all edges to remote entity.
Inheritance: Brunet.Transport.TAAuthorizer
Show file Open project: pstjuste/brunet

Public Properties

Property Type Description
Prob double

Protected Properties

Property Type Description
_allowed System.Collections.Hashtable

Public Methods

Method Description
Authorize ( TransportAddress a ) : TAAuthorizer.Decision
BrokenTAAuth ( double probability ) : Brunet.Transport

Method Details

Authorize() public method

public Authorize ( TransportAddress a ) : TAAuthorizer.Decision
a Brunet.Transport.TransportAddress
return TAAuthorizer.Decision

BrokenTAAuth() public method

public BrokenTAAuth ( double probability ) : Brunet.Transport
probability double
return Brunet.Transport

Property Details

Prob public property

public double Prob
return double

_allowed protected property

protected Hashtable,System.Collections _allowed
return System.Collections.Hashtable