class StreamConnection implements Closeable {

  @Override
  public String toString() {
    return new StringJoiner(", ", StreamConnection.class.getSimpleName() + "[", "]")
        .add("creationDateTime=" + creationDateTime)
        .add("streamConnectionId=" + streamConnectionId)
        .add("sequence=" + sequence)
        .add("connectionState=" + connectionState)
        .toString();
  }

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

}