1 package edu.berkeley.fleet.interpreter;
2 import edu.berkeley.fleet.api.*;
5 class InterpreterDestination extends Destination {
7 private static int max_dest = 0;
11 Queue<Packet> packets = new LinkedList<Packet>();
13 private boolean isInstructionDestination;
15 public InterpreterDestination(InterpreterDock d, boolean isInstructionDestination) {
17 this.isInstructionDestination = isInstructionDestination;
18 synchronized(InterpreterDestination.class) {
24 /** adds the included datum to the port from the switch fabric side */
25 public void addDataFromFabric(Packet packet) {
29 public String toString() {
30 return getDock()+(isInstructionDestination ? ":i" : "");