client/src/main/java/eventstore/j/EsConnection.java
Closeable subscribeToStreamFrom(
      String stream,
      SubscriptionObserver<Event> observer,
      Long fromEventNumberExclusive,
      boolean resolveLinkTos,
      UserCredentials credentials);
/**
   * Subscribes to a single event stream. Existing events from
   * lastCheckpoint onwards are read from the stream
   * and presented to the user of <code>SubscriptionObserver</code>
   * as if they had been pushed.
   * <p>
   * Once the end of the stream is read the subscription is
   * transparently (to the user) switched to push new events as
   * they are written.
   * <p>
   * If events have already been received and resubscription from the same point
   * is desired, use the event number of the last event processed which
   * appeared on the subscription.
   *
   * @param stream                   The stream to subscribe to
   * @param observer                 A {@link eventstore.akka.SubscriptionObserver} to handle a new event received over the subscription
   * @param fromEventNumberExclusive The event number from which to start, or <code>null</code> to read all events.
   * @param resolveLinkTos           Whether to resolve LinkTo events automatically
   * @param credentials              The optional user credentials to perform operation with
   * @return A {@link java.io.Closeable} representing the subscription which can be closed.
   */
Subscribes to a single event stream. Existing events from
lastCheckpoint onwards are read from the stream
and presented to the user of SubscriptionObserver
as if they had been pushed.

Once the end of the stream is read the subscription is
transparently (to the user) switched to push new events as
they are written.

If events have already been received and resubscription from the same point
is desired, use the event number of the last event processed which
appeared on the subscription.

@param stream                   The stream to subscribe to
@param observer                 A  eventstore.akka.SubscriptionObserver to handle a new event received over the subscription
@param fromEventNumberExclusive The event number from which to start, or null to read all events.
@param resolveLinkTos           Whether to resolve LinkTo events automatically
@param credentials              The optional user credentials to perform operation with
@return A  java.io.Closeable representing the subscription which can be closed.
Subscribes to a single event stream . Existing events from lastCheckpoint onwards are read from the stream and presented to the user of SubscriptionObserver as if they had been pushed . Once the end of the stream is read the subscription is transparently ( to the user ) switched to push new events as they are written . If events have already been received and resubscription from the same point is desired use the event number of the last event processed which appeared on the subscription . @param stream The stream to subscribe to @param observer A eventstore . akka . SubscriptionObserver to handle a new event received over the subscription @param fromEventNumberExclusive The event number from which to start or null to read all events . @param resolveLinkTos Whether to resolve LinkTo events automatically @param credentials The optional user credentials to perform operation with @return A java . io . Closeable representing the subscription which can be closed .
Closeable subscribeToStreamFrom(
      String stream,
      SubscriptionObserver<Event> observer,
      Long fromEventNumberExclusive,
      boolean resolveLinkTos,
      UserCredentials credentials);
Closeable subscribeToStreamFrom ( String stream , SubscriptionObserver < Event > observer , Long fromEventNumberExclusive , boolean resolveLinkTos , UserCredentials credentials ) ;
Subscribes to a single event stream.
Subscribes to a single event stream .