java.lang.Object
org.bzdev.drama.common.CommDomainInfo<T>
Communication domain data used in determining connectivity.
This class is used as the return value of the GenericSimulation
methods named findCommDomain, which provides three domains:
a domain for a message source, a domain for a message recipient,
and the closest ancestor of both. These domains are the values
of the methods
getSourceDomain
,
getDestDomain
, and
getAncestorDomain
respectively.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the ancestor domain.Get the destination or next hop domain.Get the source domain.
-
Constructor Details
-
CommDomainInfo
Constructor. All domains must be equal in the case in which only one domain participates.- Parameters:
sd
- the domain used by the message sourcepd
- the ancestor domaindd
- the destination or next-hop domain
-
-
Method Details
-
getSourceDomain
Get the source domain.- Returns:
- the source domain
-
getAncestorDomain
Get the ancestor domain.- Returns:
- the ancestor domain
-
getDestDomain
Get the destination or next hop domain.- Returns:
- the destination or next-hop domain
-