twitter4j
Class SiteStreamsAdapter
java.lang.Object
twitter4j.SiteStreamsAdapter
- All Implemented Interfaces:
- SiteStreamsListener, StreamListener
public class SiteStreamsAdapter
- extends java.lang.Object
- implements SiteStreamsListener
- Since:
- Twitter4J 2.1.8
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Method Summary |
void |
onBlock(long forUser,
User source,
User blockedUser)
|
void |
onDeletionNotice(long forUser,
long directMessageId,
long userId)
|
void |
onDeletionNotice(long forUser,
StatusDeletionNotice statusDeletionNotice)
|
void |
onDirectMessage(long forUser,
DirectMessage directMessage)
|
void |
onException(java.lang.Exception ex)
|
void |
onFavorite(long forUser,
User source,
User target,
Status favoritedStatus)
|
void |
onFollow(long forUser,
User source,
User followedUser)
|
void |
onFriendList(long forUser,
long[] friendIds)
|
void |
onStatus(long forUser,
Status status)
|
void |
onUnblock(long forUser,
User source,
User unblockedUser)
|
void |
onUnfavorite(long forUser,
User source,
User target,
Status unfavoritedStatus)
|
void |
onUnfollow(long forUser,
User source,
User followedUser)
|
void |
onUserListCreation(long forUser,
User listOwner,
UserList list)
|
void |
onUserListDeletion(long forUser,
User listOwner,
UserList list)
|
void |
onUserListMemberAddition(long forUser,
User addedUser,
User listOwner,
UserList list)
|
void |
onUserListMemberDeletion(long forUser,
User deletedUser,
User listOwner,
UserList list)
|
void |
onUserListSubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
|
void |
onUserListUnsubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
|
void |
onUserListUpdate(long forUser,
User listOwner,
UserList list)
|
void |
onUserProfileUpdate(long forUser,
User updatedUser)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteStreamsAdapter
public SiteStreamsAdapter()
onStatus
public void onStatus(long forUser,
Status status)
- Specified by:
onStatus
in interface SiteStreamsListener
onDeletionNotice
public void onDeletionNotice(long forUser,
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,
User source,
User target,
Status favoritedStatus)
- Specified by:
onFavorite
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUnfavorite
public void onUnfavorite(long forUser,
User source,
User target,
Status unfavoritedStatus)
- Specified by:
onUnfavorite
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onFollow
public void onFollow(long forUser,
User source,
User followedUser)
- Specified by:
onFollow
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUnfollow
public void onUnfollow(long forUser,
User source,
User followedUser)
- Specified by:
onUnfollow
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onDirectMessage
public void onDirectMessage(long forUser,
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,
User addedUser,
User listOwner,
UserList list)
- Specified by:
onUserListMemberAddition
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListMemberDeletion
public void onUserListMemberDeletion(long forUser,
User deletedUser,
User listOwner,
UserList list)
- Specified by:
onUserListMemberDeletion
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListSubscription
public void onUserListSubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
- Specified by:
onUserListSubscription
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListUnsubscription
public void onUserListUnsubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
- Specified by:
onUserListUnsubscription
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListCreation
public void onUserListCreation(long forUser,
User listOwner,
UserList list)
- Specified by:
onUserListCreation
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListUpdate
public void onUserListUpdate(long forUser,
User listOwner,
UserList list)
- Specified by:
onUserListUpdate
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserListDeletion
public void onUserListDeletion(long forUser,
User listOwner,
UserList list)
- Specified by:
onUserListDeletion
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUserProfileUpdate
public void onUserProfileUpdate(long forUser,
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,
User source,
User blockedUser)
- Specified by:
onBlock
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onUnblock
public void onUnblock(long forUser,
User source,
User unblockedUser)
- Specified by:
onUnblock
in interface SiteStreamsListener
- Parameters:
forUser
- the user id to whom sent the event
onException
public void onException(java.lang.Exception ex)
- Specified by:
onException
in interface SiteStreamsListener
- Specified by:
onException
in interface StreamListener