Click or drag to resize
ConsumerTRoot Class
Implements an Ember+ consumer that communicates with an Ember+ provider as specified in the "Ember+ Specification"[1] .
Inheritance Hierarchy
SystemObject
  Lawo.EmberPlusSharp.ModelConsumerTRoot

Namespace: Lawo.EmberPlusSharp.Model
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public sealed class Consumer<TRoot> : IMonitoredConnection, 
	IDisposable
where TRoot : Root<TRoot>

Type Parameters

TRoot
The type of the root of the object tree that will mirror the state of the tree published by the provider.

The ConsumerTRoot type exposes the following members.

Properties
  NameDescription
Public propertyAutoSendInterval
Gets or sets the minimal amount of time, in milliseconds, the consumer will wait after automatically calling SendAsync before it will automatically call it again.
Public propertyRoot
Gets the root of the object tree that mirrors the state of the tree published by the provider.
Top
Methods
  NameDescription
Public methodStatic memberCreateAsync(S101Client)
Returns the return value of CreateAsync(client, 10000).
Public methodStatic memberCreateAsync(S101Client, Int32)
Returns the return value of CreateAsync(client, timeout, 0x00).
Public methodStatic memberCreateAsync(S101Client, Int32, ChildrenRetrievalPolicy)
Public methodStatic memberCreateAsync(S101Client, Int32, Byte)
Public methodStatic memberCreateAsync(S101Client, Int32, ChildrenRetrievalPolicy, Byte)
Asynchronously uses client to create a new ConsumerTRoot object.
Public methodDispose
Stops synchronizing changes to the object tree accessible through the Root property and raises the ConnectionLost event.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSendAsync
Asynchronously sends the locally applied changes and invocations to the provider.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventConnectionLost
Occurs when the connection to the provider has been lost.
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Bibliography
[1] Marius Keuck and Philip Boger, Ember+ Specification, L-S-B Broadcast Technologies GmbH, https://github.com/Lawo/ember-plus/raw/master/documentation/Ember%2B%20Documentation.pdf
See Also