Example usage for twitter4j UserStreamAdapter subclass-usage

List of usage examples for twitter4j UserStreamAdapter subclass-usage

Introduction

In this page you can find the example usage for twitter4j UserStreamAdapter subclass-usage.

Usage

From source file ac.simons.tweetarchive.tweets.UserStreamAdapterImpl.java

/**
 * @author Michael J. Simons, 2016-09-05
 */
@Component
@RequiredArgsConstructor
public final class UserStreamAdapterImpl extends UserStreamAdapter {

From source file com.rhymestore.twitter.stream.GetMentionsListener.java

/**
 * Read the mentions from the stream API and enqueue the replies.
 * 
 * @author Ignasi Barrera
 * @see TwitterScheduler
 */

From source file net.nokok.twitduke.core.twitter.PrintUserStreamListener.java

public class PrintUserStreamListener extends UserStreamAdapter {

    @Override
    public void onBlock(User source, User blockedUser) {
        System.out.println("onBlock: " + source.getScreenName() + "," + blockedUser.getScreenName());
    }