move InterpreterDestination serial number into the Interpreter class
[fleet.git] / src / edu / berkeley / fleet / interpreter / InterpreterPath.java
1 package edu.berkeley.fleet.interpreter;
2 import edu.berkeley.fleet.api.*;
3 import edu.berkeley.fleet.two.*;
4 import java.util.*;
5
6 class InterpreterPath extends FleetTwoPath {
7
8     private final InterpreterDock source;
9     private final InterpreterDestination dest;
10     private final BitVector signal;
11
12     public InterpreterPath(InterpreterDock source,
13                            InterpreterDestination dest,
14                            BitVector signal) {
15         this.source = source;
16         this.dest = dest;
17         this.signal = signal;
18     }
19
20     public Dock        getSource() { return source; }
21     public Destination getDestination() { return dest; }
22     public int         getBufferingAmount() { return Integer.MAX_VALUE; }
23     public int         getLatencyMetric() { return 0; }
24     public BitVector   getSignal() { return signal; }
25
26 }