예제 #1
0
 private void updateBidirectional(int[] types, long size) {
   for (int i = 0; i < types.length; i++) {
     int t = types[i];
     tfCount[i] += t;
     fCount += t;
   }
   total += size;
   lastActive = System.currentTimeMillis();
 }
예제 #2
0
  public Conversation(long rmt_ip, int lcl_port, int rmt_port) {
    this();
    this.rmt_ip = rmt_ip;
    this.lcl_port = lcl_port;
    this.rmt_port = rmt_port;
    sentForResolution = false;

    lastActive = System.currentTimeMillis();
  }