package concurrency.connector;

public interface Pipe {

  public void put(Object o)
    throws InterruptedException; //put object into buffer

  public Object get()
     throws InterruptedException;//get an object from buffer
}