ParticleEventManager Class |
Namespace: Particle
The ParticleEventManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | ParticleEventManager |
Initializes a new instance of the ParticleEventManager class. Without requiring the Access Token, or Uri mostly used for unit tests
|
![]() | ParticleEventManager(Uri, String) |
Initializes a new instance of the ParticleEventManager class.
|
Name | Description | |
---|---|---|
![]() | IsRunning |
Gets a value indicating whether this instance is running.
|
![]() | ReadTimeout |
How long in Milliseconds to wait before a read timeout occurs
Default: 30000
|
![]() | ReconnectDelay |
How long to delay before reconnecting after being disconnected in Milliseconds
Default: 1000
|
Name | Description | |
---|---|---|
![]() | ConnectToClient |
Connects to client.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | fireEvent |
Fires the event.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ListensToStreamAsync |
Listenses to stream for Web Events
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Start |
Starts listening to the events coming in from the specified stream
|
![]() | Stop |
Stops listening to the event stream
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Closed |
Occurs when we stop listening to events
|
![]() | Connected |
Occurs when we have connected for the first time.
|
![]() | Error |
Occurs when there has been an error from the connection
|
![]() | Events |
Occurs when an event is encountered from the particle cloud api
|
![]() | Reconnected |
Occurs when we have reconnected to the client
|
![]() | Reconnecting |
Occurs when we are going to try and reconnect to the client
|
Name | Description | |
---|---|---|
![]() | _stop |
Used to determen if we should keep running.
If this is false we keep restarting and connecting to the event service
If this is true stop listening to the event service
|