package concurrency.connector;

import concurrency.buffer.*;

public class PipeImplBuf implements Pipe {
  Buffer buf = new BufferImpl(10);

  public void put(Object o)
    throws InterruptedException {
    buf.put(o);
  }

  public Object get()
    throws InterruptedException {
    return buf.get();
  }
}