package concurrency.connector;

import concurrency.message.*;

public class PipeImplUnBuf implements Pipe {
  Channel chan = new Channel();

  public void put(Object o)
    throws InterruptedException {
    chan.send(o);
  }

  public Object get()
    throws InterruptedException {
    return chan.receive();
  }
}