class BarrierImplementation implements Barrier, BarrierGroup.Listener {

  @Override public void cancel() throws CommunicationException {
    synchronized (m_condition) {
      m_state.cancel(this);
    }
  }

  public  BarrierImplementation(BarrierGroup group,
                               BarrierIdentity.Factory identityFactory);

}