Package ch.ethz.inf.vs.californium.network.deduplication

Examples of ch.ethz.inf.vs.californium.network.deduplication.DeduplicatorFactory


    this.started = false;
    this.exchangesByMID = new ConcurrentHashMap<KeyMID, Exchange>();
    this.exchangesByToken = new ConcurrentHashMap<KeyToken, Exchange>();
    this.ongoingExchanges = new ConcurrentHashMap<KeyUri, Exchange>();

    DeduplicatorFactory factory = DeduplicatorFactory.getDeduplicatorFactory();
    this.deduplicator = factory.createDeduplicator(config);
   
    if (config.getBoolean(NetworkConfigDefaults.USE_RANDOM_MID_START))
      currendMID = new AtomicInteger(new Random().nextInt(1<<16));
    else currendMID = new AtomicInteger(0);
  }
View Full Code Here

TOP

Related Classes of ch.ethz.inf.vs.californium.network.deduplication.DeduplicatorFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.