public class LiteFoundationsRegistry extends FoundationsRegistry
Each candidate is assigned a foundation. The foundation MUST be different for two candidates allocated from different IP addresses, and MUST be the same otherwise.
For a lite implementation, a simple integer that increments for each IP address will suffice
| Constructor and Description |
|---|
LiteFoundationsRegistry() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeIdentifier(IceCandidate candidate)
Computes the identifier, based on a candidate, that will be used as the
identifier to a foundation.
|
assignFoundationpublic String computeIdentifier(IceCandidate candidate)
FoundationsRegistrycomputeIdentifier in class FoundationsRegistrycandidate - The candidate that holds data that will form the identifierCopyright © 2017 TeleStax, Inc.. All Rights Reserved.