public class ChannelState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelState.EventName
The Events that can be registered for, exposed and send.
|
| Constructor and Description |
|---|
ChannelState()
Creates a new instance of the ChannelState and initializes the StateItems that will be used
for Observers to come and register for notifications on their status
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispose()
Unregisters everyone that have registered for events and disposes the state of the object
|
Collection<ChannelStateEvent> |
GetChannelEvents()
Retrieves all the available Events one can register for
|
ChannelStateEvent |
GetEvent(ChannelState.EventName EventToRetrieve)
Retrieves a specific Event requesting it by name.
|
public ChannelState()
public Collection<ChannelStateEvent> GetChannelEvents()
public ChannelStateEvent GetEvent(ChannelState.EventName EventToRetrieve)
EventToRetrieve - The Event to retrievepublic void Dispose()
Copyright © 2018. All Rights Reserved.