class StreamConnection implements Closeable {

  @Override
  public int hashCode() {
    return streamConnectionId.hashCode();
  }

  public  StreamConnection(final InterledgerAddress receiverAddress, final SharedSecret sharedSecret);
  public  StreamConnection(final StreamConnectionId streamConnectionId);

}