twitter4j
Class UserStreamAdapter

java.lang.Object
  extended by twitter4j.StatusAdapter
      extended by twitter4j.UserStreamAdapter
All Implemented Interfaces:
StatusListener, UserStreamListener

public class UserStreamAdapter
extends StatusAdapter
implements UserStreamListener

Since:
Twitter4J 2.1.3
Author:
Rémy Rakic at gmail.com

Constructor Summary
UserStreamAdapter()
           
 
Method Summary
 void onBlock(User source, User target)
           
 void onDirectMessage(DirectMessage directMessage)
           
 void onFavorite(User source, User target, Status targetObject)
           
 void onFollow(User source, User target)
           
 void onFriendList(int[] friendIds)
           
 void onRetweet(User source, User target, Status targetObject)
           
 void onUnblock(User source, User target)
           
 void onUnfavorite(User source, User target, Status targetObject)
           
 void onUnfollow(User source, User target)
           
 void onUserListCreated(User listOwner, UserList list)
           
 void onUserListDestroyed(User listOwner, UserList list)
           
 void onUserListSubscribed(User subscriber, User listOwner, UserList list)
           
 void onUserListUpdated(User listOwner, UserList list)
           
 
Methods inherited from class twitter4j.StatusAdapter
onDeletionNotice, onException, onStatus, onTrackLimitationNotice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface twitter4j.StatusListener
onDeletionNotice, onException, onStatus, onTrackLimitationNotice
 

Constructor Detail

UserStreamAdapter

public UserStreamAdapter()
Method Detail

onFriendList

public void onFriendList(int[] friendIds)
Specified by:
onFriendList in interface UserStreamListener

onFavorite

public void onFavorite(User source,
                       User target,
                       Status targetObject)
Specified by:
onFavorite in interface UserStreamListener

onFollow

public void onFollow(User source,
                     User target)
Specified by:
onFollow in interface UserStreamListener

onUnfavorite

public void onUnfavorite(User source,
                         User target,
                         Status targetObject)
Specified by:
onUnfavorite in interface UserStreamListener

onRetweet

public void onRetweet(User source,
                      User target,
                      Status targetObject)
Specified by:
onRetweet in interface UserStreamListener

onUnfollow

public void onUnfollow(User source,
                       User target)
Specified by:
onUnfollow in interface UserStreamListener

onDirectMessage

public void onDirectMessage(DirectMessage directMessage)
Specified by:
onDirectMessage in interface UserStreamListener

onUserListSubscribed

public void onUserListSubscribed(User subscriber,
                                 User listOwner,
                                 UserList list)
Specified by:
onUserListSubscribed in interface UserStreamListener

onUserListCreated

public void onUserListCreated(User listOwner,
                              UserList list)
Specified by:
onUserListCreated in interface UserStreamListener

onUserListUpdated

public void onUserListUpdated(User listOwner,
                              UserList list)
Specified by:
onUserListUpdated in interface UserStreamListener

onUserListDestroyed

public void onUserListDestroyed(User listOwner,
                                UserList list)
Specified by:
onUserListDestroyed in interface UserStreamListener

onBlock

public void onBlock(User source,
                    User target)
Specified by:
onBlock in interface UserStreamListener

onUnblock

public void onUnblock(User source,
                      User target)
Specified by:
onUnblock in interface UserStreamListener