class StatelessStreamReceiver implements StreamReceiver {

  @Override
  public StreamConnectionDetails setupStream(final InterledgerAddress receiverAddress) {
    Objects.requireNonNull(receiverAddress);
    return streamConnectionGenerator.generateConnectionDetails(serverSecretSupplier, receiverAddress);
  }

  public  StatelessStreamReceiver(
      final ServerSecretSupplier serverSecretSupplier, final StreamConnectionGenerator streamConnectionGenerator,
      final StreamEncryptionService streamEncryptionService, final CodecContext streamCodecContext
  );

}