1 package edu.berkeley.obits;
5 /** a physical or virtual reconfigurable device */
6 public interface Device {
8 /** reset the device */
9 public void reset() throws DeviceException;
11 /** flush any commands issued so far, blocking until they have taken effect */
12 public void flush() throws DeviceException;
14 public static class DeviceException extends RuntimeException {
15 public DeviceException(String s) { super(s); }
16 public DeviceException(Throwable t) { super(t); }