public interface SiteStreamsListener extends StreamListener
| 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 | 
onDisconnectionNotice(java.lang.String line)
callback method for  
StreamController.removeUsers(long[]) | 
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 unfollowedUser)  | 
void | 
onUserListCreation(long forUser,
                  User listOwner,
                  UserList list)  | 
void | 
onUserListDeletion(long forUser,
                  User listOwner,
                  UserList list)  | 
void | 
onUserListMemberAddition(long forUser,
                        User addedMember,
                        User listOwner,
                        UserList list)  | 
void | 
onUserListMemberDeletion(long forUser,
                        User deletedMember,
                        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)  | 
void onStatus(long forUser,
            Status status)
void onDeletionNotice(long forUser,
                    StatusDeletionNotice statusDeletionNotice)
void onFriendList(long forUser,
                long[] friendIds)
forUser - the user id to whom sent the eventfriendIds - void onFavorite(long forUser,
              User source,
              User target,
              Status favoritedStatus)
forUser - the user id to whom sent the eventsource - target - favoritedStatus - void onUnfavorite(long forUser,
                User source,
                User target,
                Status unfavoritedStatus)
forUser - the user id to whom sent the eventtarget - unfavoritedStatus - void onFollow(long forUser,
            User source,
            User followedUser)
forUser - the user id to whom sent the eventsource - followedUser - void onUnfollow(long forUser,
              User source,
              User unfollowedUser)
forUser - the user id to whom sent the eventsource - unfollowedUser - void onDirectMessage(long forUser,
                   DirectMessage directMessage)
forUser - the user id to whom sent the eventdirectMessage - void onDeletionNotice(long forUser,
                    long directMessageId,
                    long userId)
void onUserListMemberAddition(long forUser,
                            User addedMember,
                            User listOwner,
                            UserList list)
forUser - the user id to whom sent the eventaddedMember - listOwner - list - void onUserListMemberDeletion(long forUser,
                            User deletedMember,
                            User listOwner,
                            UserList list)
forUser - the user id to whom sent the eventdeletedMember - listOwner - list - void onUserListSubscription(long forUser,
                          User subscriber,
                          User listOwner,
                          UserList list)
forUser - the user id to whom sent the eventsubscriber - listOwner - list - void onUserListUnsubscription(long forUser,
                            User subscriber,
                            User listOwner,
                            UserList list)
forUser - the user id to whom sent the eventsubscriber - listOwner - list - void onUserListCreation(long forUser,
                      User listOwner,
                      UserList list)
forUser - the user id to whom sent the eventlistOwner - list - void onUserListUpdate(long forUser,
                    User listOwner,
                    UserList list)
forUser - the user id to whom sent the eventlistOwner - list - void onUserListDeletion(long forUser,
                      User listOwner,
                      UserList list)
forUser - the user id to whom sent the eventlistOwner - list - void onUserProfileUpdate(long forUser,
                       User updatedUser)
forUser - the user id to whom sent the eventupdatedUser - updated uservoid onBlock(long forUser,
           User source,
           User blockedUser)
forUser - the user id to whom sent the eventsource - blockedUser - void onUnblock(long forUser,
             User source,
             User unblockedUser)
forUser - the user id to whom sent the eventsource - unblockedUser - void onDisconnectionNotice(java.lang.String line)
StreamController.removeUsers(long[])void onException(java.lang.Exception ex)
onException in interface StreamListener