public class SiteStreamsAdapter extends java.lang.Object implements SiteStreamsListener
| Constructor and Description |
|---|
SiteStreamsAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void onStatus(long forUser,
Status status)
onStatus in interface SiteStreamsListenerpublic void onDeletionNotice(long forUser,
StatusDeletionNotice statusDeletionNotice)
onDeletionNotice in interface SiteStreamsListenerpublic void onFriendList(long forUser,
long[] friendIds)
onFriendList in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onFavorite(long forUser,
User source,
User target,
Status favoritedStatus)
onFavorite in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUnfavorite(long forUser,
User source,
User target,
Status unfavoritedStatus)
onUnfavorite in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onFollow(long forUser,
User source,
User followedUser)
onFollow in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUnfollow(long forUser,
User source,
User followedUser)
onUnfollow in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onDirectMessage(long forUser,
DirectMessage directMessage)
onDirectMessage in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onDeletionNotice(long forUser,
long directMessageId,
long userId)
onDeletionNotice in interface SiteStreamsListenerpublic void onUserListMemberAddition(long forUser,
User addedUser,
User listOwner,
UserList list)
onUserListMemberAddition in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListMemberDeletion(long forUser,
User deletedUser,
User listOwner,
UserList list)
onUserListMemberDeletion in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListSubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
onUserListSubscription in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListUnsubscription(long forUser,
User subscriber,
User listOwner,
UserList list)
onUserListUnsubscription in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListCreation(long forUser,
User listOwner,
UserList list)
onUserListCreation in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListUpdate(long forUser,
User listOwner,
UserList list)
onUserListUpdate in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserListDeletion(long forUser,
User listOwner,
UserList list)
onUserListDeletion in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUserProfileUpdate(long forUser,
User updatedUser)
onUserProfileUpdate in interface SiteStreamsListenerforUser - the user id to whom sent the eventupdatedUser - updated userpublic void onBlock(long forUser,
User source,
User blockedUser)
onBlock in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onUnblock(long forUser,
User source,
User unblockedUser)
onUnblock in interface SiteStreamsListenerforUser - the user id to whom sent the eventpublic void onException(java.lang.Exception ex)
onException in interface SiteStreamsListeneronException in interface StreamListener