/** * Asynchronously retrieves all statuses containing 'http:' and 'https:'. Like * Firehorse, its is not a generally available stream * <p/> * Only one Twitter stream can be consumed using the same credentials. As a consequence, * only one twitter stream can be consumed per connector instance. * <p/> * {@sample.xml ../../../doc/twitter-connector.xml.sample twitter:linkStream} * * @param count Indicates the number of previous statuses to consider for delivery before transitioning to live * stream delivery. * @param callback the {@link SourceCallback} used to dispatch messages when a response is received */ @Source public void linkStream(int count, final SourceCallback callback) { listenToStatues(callback).links(count); }
.equals(TwitterConstant.LINK_STREAM_OPERATION)) { if (countParam != null) { twitterStream.links(count);