Click or drag to resize

ConnectionIRegistry Interface

A registry of connections.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
public interface IRegistry

The ConnectionIRegistry type exposes the following members.

Properties
  NameDescription
Public propertyAll
Return a list of the ProtocolHeads (and the key addresses used) present in the repository.
Public propertyLock
An async safe lock. FIXME fix the api instead? Use AddOrUpdate (see System.Collections.Concurrent.ConcurrentDictionary).
Top
Methods
  NameDescription
Public methodAdd
Adds a ProtocolHead to the repository for the address ProtocolHead.CononicalAddress.
Public methodRemove
Remove ProtocolHead from the repository.
Public methodTryGetValue
Try to get the ProtocolHead for this address.
Top
Events
  NameDescription
Public eventOnConnectionAdded
Raised when a connection is added to the registry.
Public eventOnConnectionRemoved
Raised when a connection is removed from the registry.
Public eventOnConnectionStateChanged
Raised when a connection state changes.
Top
See Also