class Spdz2kResourcePoolImpl extends ResourcePoolImpl implements Spdz2kResourcePool<PlainT> {

  @Override
  public Drbg getRandomGenerator() {
    if (drbg == null) {
      throw new IllegalStateException("Joint drbg must be initialized before use");
    }
    return drbg;
  }

  public  Spdz2kResourcePoolImpl(int myId, int noOfPlayers, Drbg drbg,
      OpenedValueStore<Spdz2kSInt<PlainT>, PlainT> storage,
      Spdz2kDataSupplier<PlainT> supplier, CompUIntFactory<PlainT> factory);

}