/// <summary>Return the SimulationEdgeListener.</summary> protected virtual EdgeListener CreateEdgeListener(int id) { TAAuthorizer auth = null; if (_broken != 0 && id > 0) { auth = new BrokenTAAuth(_broken); } return(new SimulationEdgeListener(id, _parameters.DropRate, auth, true)); }
/// <summary>Return the SimulationEdgeListener.</summary> protected virtual EdgeListener CreateEdgeListener(int id) { TAAuthorizer auth = null; if(_broken != 0 && id > 0) { auth = new BrokenTAAuth(_rand, _broken); } return new SimulationEdgeListener(id, 0, auth, true); }