CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Classes | Enumerations
CoreTweet.Streaming Namespace Reference

Classes

class  AccessRevocation
 Represents a revoked token. More...
 
class  ClientApplication
 Represents a client application. More...
 
class  ControlMessage
 Represents a control message. More...
 
class  DeleteMessage
 Represents a delete message of a status or a direct message. More...
 
class  DirectMessageMessage
 Represents a Direct message message. More...
 
class  DisconnectMessage
 Represents the message published when Twitter disconnects the stream. More...
 
class  EnvelopesMessage
 Provides an envelopes message. More...
 
class  EventMessage
 Represents an event message. More...
 
class  FriendsMessage
 Represents a message contains ids of friends. More...
 
class  LimitMessage
 Represents the message with the rate limit. More...
 
class  RawJsonMessage
 Represents a raw JSON message. This message means an exception was thrown when parsing. More...
 
class  ScrubGeoMessage
 Represents a scrub-get message. More...
 
class  StatusMessage
 Represents a status message. More...
 
class  StatusWithheldMessage
 Represents a withheld message. More...
 
class  StreamingApi
 Represents the wrapper for the Twitter Streaming API. More...
 
class  StreamingConnection
 
class  StreamingMessage
 Represents a streaming message. This class is an abstract class. More...
 
class  StreamingObservable
 
class  StreamingParameters
 Represents the parameters for the Twitter Streaming API. More...
 
class  TimestampMessage
 Represents a streaming message containing a timestamp. More...
 
class  UserMessage
 Represents a message contains the ID of an user. More...
 
class  UserWithheldMessage
 Represents a withheld message. More...
 
class  WarningMessage
 Represents a warning message. More...
 

Enumerations

enum  DisconnectCode {
  DisconnectCode.Shutdown = 1, DisconnectCode.DuplicateStream, DisconnectCode.ControlRequest, DisconnectCode.Stall,
  DisconnectCode.Normal, DisconnectCode.TokenRevoked, DisconnectCode.AdminLogout, DisconnectCode.Reserved,
  DisconnectCode.MaxMessageLimit, DisconnectCode.StreamException, DisconnectCode.BrokerStall, DisconnectCode.ShedLoad
}
 Provides disconnect codes in Twitter Streaming API. More...
 
enum  EventCode {
  EventCode.AccessRevoked, EventCode.Block, EventCode.Unblock, EventCode.Favorite,
  EventCode.Unfavorite, EventCode.Follow, EventCode.Unfollow, EventCode.ListCreated,
  EventCode.ListDestroyed, EventCode.ListUpdated, EventCode.ListMemberAdded, EventCode.ListMemberRemoved,
  EventCode.ListUserSubscribed, EventCode.ListUserUnsubscribed, EventCode.UserUpdate, EventCode.Mute,
  EventCode.Unmute, EventCode.FavoritedRetweet, EventCode.RetweetedRetweet, EventCode.QuotedTweet
}
 Provides event codes in Twitter Streaming API. More...
 
enum  MessageType {
  MessageType.DeleteStatus, MessageType.DeleteDirectMessage, MessageType.ScrubGeo, MessageType.StatusWithheld,
  MessageType.UserWithheld, MessageType.UserDelete, MessageType.UserUndelete, MessageType.UserSuspend,
  MessageType.Disconnect, MessageType.Warning, MessageType.Event, MessageType.Envelopes,
  MessageType.Create, MessageType.DirectMesssage, MessageType.Friends, MessageType.Limit,
  MessageType.Control, MessageType.RawJson
}
 Provides message types in Twitter Streaming API. More...
 
enum  EventTargetType { EventTargetType.List, EventTargetType.Status, EventTargetType.AccessRevocation, EventTargetType.Null }
 Provides the event target type. More...
 
enum  StreamingType {
  StreamingType.User, StreamingType.Site, StreamingType.Filter, StreamingType.Sample,
  StreamingType.Firehose
}
 Provides the types of the Twitter Streaming API. More...
 

Enumeration Type Documentation

◆ DisconnectCode

Provides disconnect codes in Twitter Streaming API.

Enumerator
Shutdown 

The feed was shutdown (possibly a machine restart)

DuplicateStream 

The same endpoint was connected too many times.

ControlRequest 

Control streams was used to close a stream (applies to sitestreams).

Stall 

The client was reading too slowly and was disconnected by the server.

Normal 

The client appeared to have initiated a disconnect.

TokenRevoked 

An oauth token was revoked for a user (applies to site and userstreams).

AdminLogout 

The same credentials were used to connect a new stream and the oldest was disconnected.

Reserved 

Reserved for internal use.

Will not be delivered to external clients.

MaxMessageLimit 

The stream connected with a negative count parameter and was disconnected after all backfill was delivered.

StreamException 

An internal issue disconnected the stream.

BrokerStall 

An internal issue disconnected the stream.

ShedLoad 

The host the stream was connected to became overloaded and streams were disconnected to balance load.

Reconnect as usual.

◆ EventCode

Provides event codes in Twitter Streaming API.

Enumerator
AccessRevoked 

The user revokes his access token.

Block 

The user blocks a user.

Unblock 

The user unblocks a user.

Favorite 

The user favorites a Tweet.

Unfavorite 

The user unfavorites a Tweet.

Follow 

The user follows a user.

Unfollow 

The user unfollows a user.

ListCreated 

The user creates a List.

ListDestroyed 

The user destroys a List.

ListUpdated 

The user updates a List.

ListMemberAdded 

The user adds a user to a List.

ListMemberRemoved 

The user removes a user from a List.

ListUserSubscribed 

The user subscribes a List.

ListUserUnsubscribed 

The user unsubscribes a List.

UserUpdate 

The user updates a List.

Mute 

The user mutes a user.

Unmute 

The user unmutes a user.

FavoritedRetweet 

The user favorites a retweet.

RetweetedRetweet 

The user retweets a retweet.

QuotedTweet 

The user quotes a Tweet.

◆ EventTargetType

Provides the event target type.

Enumerator
List 

The event is about a List.

Status 

The event is about a Tweet.

AccessRevocation 

The event is that the user revoked his access token.

Null 

The event is unknown.

◆ MessageType

Provides message types in Twitter Streaming API.

Enumerator
DeleteStatus 

The message indicates the Tweet has been deleted.

DeleteDirectMessage 

The message indicates the Direct Message has been deleted.

ScrubGeo 

The message indicates that geolocated data must be stripped from a range of Tweets.

StatusWithheld 

The message indicates that the indicated tweet has had their content withheld.

UserWithheld 

The message indicates that indicated user has had their content withheld.

UserDelete 

The message indicates that the user has been deleted.

UserUndelete 

The message indicates that the user has canceled the deletion.

UserSuspend 

The message indicates that the user has been suspended.

Disconnect 

The message indicates that the streams may be shut down for a variety of reasons.

Warning 

The message indicates the current health of the connection.

This can be only sent when connected to a stream using the stall_warnings parameter.

Event 

The message is about non-Tweet events.

Envelopes 

The message is sent to identify the target of each message.

In Site Streams, an additional wrapper is placed around every message, except for blank keep-alive lines.

Create 

The message is a new Tweet.

DirectMesssage 

The message is a new Direct Message.

Friends 

The message is a list of the user's friends.

Twitter sends a preamble before starting regular message delivery upon establishing a User Stream connection.

Limit 

The message indicates that a filtered stream has matched more Tweets than its current rate limit allows to be delivered.

Control 

The message is sent to modify the Site Streams connection without reconnecting.

RawJson 

The message is in raw JSON format.

◆ StreamingType

Provides the types of the Twitter Streaming API.

Enumerator
User 

The user stream.

Site 

The site stream.

Filter 

The filter stream.

Sample 

The sample stream.

Firehose 

The firehose stream.