@Beta @Immutable public class ProtectedTransportEndpointDescription extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ProtectedTransportEndpointDescription(List<TransportEndpointDescription> paths,
                                     DeviceId peer,
                                     String fingerprint)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ProtectedTransportEndpointDescription | 
buildDescription(List<TransportEndpointDescription> paths,
                DeviceId peer,
                String fingerprint)
Creates a  
ProtectedTransportEndpointDescription. | 
String | 
fingerprint()
Returns fingerprint to identify this protected transport entity. 
 | 
static ProtectedTransportEndpointDescription | 
of(List<TransportEndpointDescription> paths,
  DeviceId peer,
  String fingerprint)
Creates a  
ProtectedTransportEndpointDescription. | 
List<TransportEndpointDescription> | 
paths()
Returns List of underlying transport entity endpoints in priority order. 
 | 
DeviceId | 
peer()
Returns DeviceId of remote peer of this endpoint. 
 | 
String | 
toString()  | 
protected ProtectedTransportEndpointDescription(List<TransportEndpointDescription> paths, DeviceId peer, String fingerprint)
paths - TransportEndpointDescriptionspeer - remote peer of this endpointfingerprint - to identify this protected transport entity.public List<TransportEndpointDescription> paths()
public DeviceId peer()
public String fingerprint()
public static final ProtectedTransportEndpointDescription buildDescription(List<TransportEndpointDescription> paths, DeviceId peer, String fingerprint)
ProtectedTransportEndpointDescription.paths - TransportEndpointDescriptions forming protectionpeer - DeviceId of remote peer of this endpoint.fingerprint - opaque fingerprint object. must be serializable.TransportEndpointDescriptionpublic static final ProtectedTransportEndpointDescription of(List<TransportEndpointDescription> paths, DeviceId peer, String fingerprint)
ProtectedTransportEndpointDescription.paths - TransportEndpointDescriptions forming protectionpeer - DeviceId of remote peer of this endpoint.fingerprint - opaque fingerprint object. must be serializable.TransportEndpointDescription