ConnectionIRegistry Interface |
Namespace: Demo3D.Net
public interface IRegistry
The ConnectionIRegistry type exposes the following members.
| Name | Description | |
|---|---|---|
| All |
Return a list of the ProtocolHeads (and the key addresses used) present in the repository.
| |
| Lock |
An async safe lock. FIXME fix the api instead? Use AddOrUpdate (see System.Collections.Concurrent.ConcurrentDictionary).
|
| Name | Description | |
|---|---|---|
| Add |
Adds a ProtocolHead to the repository for the address ProtocolHead.CononicalAddress.
| |
| Remove |
Remove ProtocolHead from the repository.
| |
| TryGetValue |
Try to get the ProtocolHead for this address.
|
| Name | Description | |
|---|---|---|
| OnConnectionAdded |
Raised when a connection is added to the registry.
| |
| OnConnectionRemoved |
Raised when a connection is removed from the registry.
| |
| OnConnectionStateChanged |
Raised when a connection state changes.
|