public class StatusAdapter extends java.lang.Object implements StatusListener
| Constructor and Description |
|---|
StatusAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
Called upon deletionNotice notices.
|
void |
onException(java.lang.Exception ex) |
void |
onScrubGeo(long userId,
long upToStatusId)
Called upon location deletion messages.
|
void |
onStallWarning(StallWarning warning)
Called when receiving stall warnings.
|
void |
onStatus(Status status) |
void |
onTrackLimitationNotice(int numberOfLimitedStatuses)
This notice will be sent each time a limited stream becomes unlimited.
If this number is high and or rapidly increasing, it is an indication that your predicate is too broad, and you should consider a predicate with higher selectivity. |
public void onStatus(Status status)
onStatus in interface StatusListenerpublic void onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
StatusListeneronDeletionNotice in interface StatusListenerstatusDeletionNotice - the deletionNotice noticepublic void onTrackLimitationNotice(int numberOfLimitedStatuses)
StatusListeneronTrackLimitationNotice in interface StatusListenernumberOfLimitedStatuses - an enumeration of statuses that matched the track predicate but were administratively limited.public void onScrubGeo(long userId,
long upToStatusId)
StatusListeneronScrubGeo in interface StatusListeneruserId - user idupToStatusId - up to status idpublic void onException(java.lang.Exception ex)
onException in interface StreamListenerpublic void onStallWarning(StallWarning warning)
StatusListeneronStallWarning in interface StatusListenerwarning - StallWaning