org.flexiblepower.messaging
public static interface ConnectionManager.EndpointPort
Port
that was defined on an Endpoint
. This can be used to find
ConnectionManager.PotentialConnection
s.Modifier and Type | Method and Description |
---|---|
Cardinality |
getCardinality() |
ConnectionManager.ManagedEndpoint |
getEndpoint() |
java.lang.String |
getName() |
ConnectionManager.PotentialConnection |
getPotentialConnection(ConnectionManager.EndpointPort other) |
ConnectionManager.PotentialConnection |
getPotentialConnection(java.lang.String id) |
java.util.SortedMap<java.lang.String,? extends ConnectionManager.PotentialConnection> |
getPotentialConnections() |
ConnectionManager.ManagedEndpoint getEndpoint()
ConnectionManager.ManagedEndpoint
on which it is defined.java.lang.String getName()
Port
Port.name()
Cardinality getCardinality()
Cardinality
of the Port
Port.cardinality()
ConnectionManager.PotentialConnection getPotentialConnection(java.lang.String id)
id
- The unqiue identifier of the ConnectionManager.PotentialConnection
ConnectionManager.PotentialConnection
for that id, or null
if it doesn't existConnectionManager.PotentialConnection getPotentialConnection(ConnectionManager.EndpointPort other)
other
- The other ConnectionManager.EndpointPort
with which to connectConnectionManager.PotentialConnection
to that other ConnectionManager.EndpointPort
, or null
if it
doesn't existjava.util.SortedMap<java.lang.String,? extends ConnectionManager.PotentialConnection> getPotentialConnections()
ConnectionManager.PotentialConnection
s of this port, keyed by the unique identifier.