subscribe method

dynamic subscribe(
  1. List<String> subjects
)

Subscribe to one or more subjects.

As an example, supposing messages are market data updates having as subjects stock names. Then, to subscribe for the messages having as subjects \c /stocks/NYSE/IBM and \c /stocks/Nasdaq/MSFT use:

	List

The subjects are strings having a particular syntax. See the "Concepts" section of the Architecture Guide to learn the syntax of the subjects.

\param subjects subjects to subscribe

Implementation

subscribe(List<String> subjects) {
  clientImpl.subscribe(subjects, 0);
}