public Host(EventQueueProcessor eqp, IP ip) : base(eqp, ip) { this.hStat.host_name = ip; this.hStat.flows = new FlowStatus[1]; this.hStat.flows[0] = new FlowStatus(); this.hStat.flows[0].flow_name = ""; this.hStat.flows[0].packets_sent = 0; this.flow_rec_stat.flow_name = ""; }
public Link(EventQueueProcessor eqp, string name, Node src, Node dest, double rate, double prop_delay, Int64 buffer_size) { this.eqp = eqp; this.src = src; this.dest = dest; this.rate = rate; this.name = name; this.prop_delay = prop_delay; this.buffer_size = buffer_size; this.lStatus = new LinkStatus(); this.lStatus.link = this; this.lStatus.dropped_packets = 0; this.lStatus.delivered_packets = 0; this.is_transmitting = false; this.buffer = new Queue<Packet>(); }
protected Node(EventQueueProcessor eqp, string ip) { this.eqp = eqp; this.ip = ip; }
public Router(EventQueueProcessor eqp, IP ip) : base(eqp, ip) { }
public LinkStatePacketSender(EventQueueProcessor eqp, ISet<Link> outgoing_links) { this.eqp = eqp; this.outgoing_links = outgoing_links; }