twitter4j
Class SiteStreamsAdapter
java.lang.Object
twitter4j.SiteStreamsAdapter
- All Implemented Interfaces:
- SiteStreamsListener
public class SiteStreamsAdapter
- extends Object
- implements SiteStreamsListener
- Since:
- Twitter4J 2.1.8
- Author:
- Yusuke Yamamoto - yusuke at mac.com
|
Method Summary |
void |
onBlock(long forUser,
twitter4j.User source,
twitter4j.User blockedUser)
|
void |
onDeletionNotice(long forUser,
long directMessageId,
long userId)
|
void |
onDeletionNotice(long forUser,
twitter4j.StatusDeletionNotice statusDeletionNotice)
|
void |
onDirectMessage(long forUser,
twitter4j.DirectMessage directMessage)
|
void |
onException(Exception ex)
|
void |
onFavorite(long forUser,
twitter4j.User source,
twitter4j.User target,
twitter4j.Status favoritedStatus)
|
void |
onFollow(long forUser,
twitter4j.User source,
twitter4j.User followedUser)
|
void |
onFriendList(long forUser,
long[] friendIds)
|
void |
onStatus(long forUser,
twitter4j.Status status)
|
void |
onUnblock(long forUser,
twitter4j.User source,
twitter4j.User unblockedUser)
|
void |
onUnfavorite(long forUser,
twitter4j.User source,
twitter4j.User target,
twitter4j.Status unfavoritedStatus)
|
void |
onUnfollow(long forUser,
twitter4j.User source,
twitter4j.User followedUser)
|
void |
onUserListCreation(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListDeletion(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListMemberAddition(long forUser,
twitter4j.User addedUser,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListMemberDeletion(long forUser,
twitter4j.User deletedUser,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListSubscription(long forUser,
twitter4j.User subscriber,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListUnsubscription(long forUser,
twitter4j.User subscriber,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserListUpdate(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
|
void |
onUserProfileUpdate(long forUser,
twitter4j.User updatedUser)
|
SiteStreamsAdapter
public SiteStreamsAdapter()
onStatus
public void onStatus(long forUser,
twitter4j.Status status)
- Specified by:
onStatus in interface SiteStreamsListener
onDeletionNotice
public void onDeletionNotice(long forUser,
twitter4j.StatusDeletionNotice statusDeletionNotice)
- Specified by:
onDeletionNotice in interface SiteStreamsListener
onFriendList
public void onFriendList(long forUser,
long[] friendIds)
- Specified by:
onFriendList in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onFavorite
public void onFavorite(long forUser,
twitter4j.User source,
twitter4j.User target,
twitter4j.Status favoritedStatus)
- Specified by:
onFavorite in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUnfavorite
public void onUnfavorite(long forUser,
twitter4j.User source,
twitter4j.User target,
twitter4j.Status unfavoritedStatus)
- Specified by:
onUnfavorite in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onFollow
public void onFollow(long forUser,
twitter4j.User source,
twitter4j.User followedUser)
- Specified by:
onFollow in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUnfollow
public void onUnfollow(long forUser,
twitter4j.User source,
twitter4j.User followedUser)
- Specified by:
onUnfollow in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onDirectMessage
public void onDirectMessage(long forUser,
twitter4j.DirectMessage directMessage)
- Specified by:
onDirectMessage in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onDeletionNotice
public void onDeletionNotice(long forUser,
long directMessageId,
long userId)
- Specified by:
onDeletionNotice in interface SiteStreamsListener
onUserListMemberAddition
public void onUserListMemberAddition(long forUser,
twitter4j.User addedUser,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListMemberAddition in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListMemberDeletion
public void onUserListMemberDeletion(long forUser,
twitter4j.User deletedUser,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListMemberDeletion in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListSubscription
public void onUserListSubscription(long forUser,
twitter4j.User subscriber,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListSubscription in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListUnsubscription
public void onUserListUnsubscription(long forUser,
twitter4j.User subscriber,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListUnsubscription in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListCreation
public void onUserListCreation(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListCreation in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListUpdate
public void onUserListUpdate(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListUpdate in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserListDeletion
public void onUserListDeletion(long forUser,
twitter4j.User listOwner,
twitter4j.UserList list)
- Specified by:
onUserListDeletion in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUserProfileUpdate
public void onUserProfileUpdate(long forUser,
twitter4j.User updatedUser)
- Specified by:
onUserProfileUpdate in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the eventupdatedUser - updated user
onBlock
public void onBlock(long forUser,
twitter4j.User source,
twitter4j.User blockedUser)
- Specified by:
onBlock in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onUnblock
public void onUnblock(long forUser,
twitter4j.User source,
twitter4j.User unblockedUser)
- Specified by:
onUnblock in interface SiteStreamsListener
- Parameters:
forUser - the user id to whom sent the event
onException
public void onException(Exception ex)
- Specified by:
onException in interface SiteStreamsListener
Copyright © 2012. All Rights Reserved.