client/src/main/java/eventstore/j/EsConnection.java
Closeable subscribeToStream(
      String stream,
      SubscriptionObserver<Event> observer,
      boolean resolveLinkTos,
      UserCredentials credentials);
/**
   * Subscribes to a single event stream. New events
   * written to the stream while the subscription is active will be
   * pushed to the client.
   *
   * @param stream         The stream to subscribe to
   * @param observer       A {@link eventstore.akka.SubscriptionObserver} to handle a new event received over the subscription
   * @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. New events
written to the stream while the subscription is active will be
pushed to the client.


Subscribes to a single event stream . New events written to the stream while the subscription is active will be pushed to the client .
Closeable subscribeToStream(
      String stream,
      SubscriptionObserver<Event> observer,
      boolean resolveLinkTos,
      UserCredentials credentials);
Closeable subscribeToStream ( String stream , SubscriptionObserver < Event > observer , boolean resolveLinkTos , UserCredentials credentials ) ;
Subscribes to a single event stream.
Subscribes to a single event stream .