public class ParticipantData extends DiscoveredData
See 8.5.3.2 SPDPdiscoveredParticipantData. DDS::ParticipantBuiltinTopicData of RTPS specification and 7.4.1.3 Extension to RTPS Standard DCPSParticipants Builtin Topic of DDS Security
Modifier and Type | Field and Description |
---|---|
static String |
BUILTIN_TOPIC_NAME |
static String |
BUILTIN_TYPE_NAME |
key, qos, topicName, typeName
Constructor and Description |
---|
ParticipantData(GuidPrefix prefix,
int endpoints,
List<Locator> discoveryLocators,
List<Locator> userdataLocators,
IdentityToken iToken,
PermissionsToken pToken,
QualityOfService participantQos) |
ParticipantData(GuidPrefix prefix,
int endpoints,
List<Locator> discoveryLocators,
List<Locator> userdataLocators,
QualityOfService participantQos) |
ParticipantData(ParameterList parameterList)
Reads SPDPdiscoveredParticipantData.
|
Modifier and Type | Method and Description |
---|---|
boolean |
expectsInlineQos()
Gets ExpectsInlineQos
|
int |
getBuiltinEndpoints() |
List<Locator> |
getDiscoveryLocators()
Gets the list of Locators that can be used for discovery(metadata).
|
Guid |
getGuid()
Gets the guid of the partcipant.
|
GuidPrefix |
getGuidPrefix()
Gets the guid prefix.
|
IdentityToken |
getIdentityToken()
Gets the IdentityToken of ParticipantData if present.
|
Duration |
getLeaseDuration()
Lease duration associated with remote participant represented by this
ParticipantData.
|
long |
getLeaseExpirationTime()
Gets the time when the lease will be expired.
|
int |
getManualLivelinessCount() |
PermissionsToken |
getPermissionsToken()
Gets the PermissionsToken of ParticipantData if present.
|
ProtocolVersion |
getProtocolVersion()
Gets the ProtocolVersion.
|
QosUserData |
getUserData()
Gets the UserData QoS policy
|
List<Locator> |
getUserdataLocators()
Gets the list of Locators that can be used for user data
|
VendorId |
getVendorId()
Get the VendorId
|
boolean |
isAuthenticated() |
boolean |
isLeaseExpired()
Checks, if the lease has been expired or not.
|
void |
renewLease()
Renews lease time that has been associated with this ParticipantData
|
void |
setAuthenticated(boolean b) |
void |
setLeaseDuration(Duration duration) |
String |
toString() |
addParameter, addQosPolicy, getBuiltinTopicKey, getInlineableQosPolicies, getParameter, getParameters, getQualityOfService, getTopicName, getTypeName, resolveInconsistencies
public static final String BUILTIN_TOPIC_NAME
public static final String BUILTIN_TYPE_NAME
public ParticipantData(GuidPrefix prefix, int endpoints, List<Locator> discoveryLocators, List<Locator> userdataLocators, QualityOfService participantQos)
public ParticipantData(GuidPrefix prefix, int endpoints, List<Locator> discoveryLocators, List<Locator> userdataLocators, IdentityToken iToken, PermissionsToken pToken, QualityOfService participantQos)
public ParticipantData(ParameterList parameterList)
parameterList
- ParameterListpublic IdentityToken getIdentityToken()
public PermissionsToken getPermissionsToken()
public ProtocolVersion getProtocolVersion()
public GuidPrefix getGuidPrefix()
public Guid getGuid()
public VendorId getVendorId()
public boolean expectsInlineQos()
public int getBuiltinEndpoints()
public Duration getLeaseDuration()
public int getManualLivelinessCount()
public void renewLease()
getLeaseDuration()
public void setLeaseDuration(Duration duration)
public boolean isLeaseExpired()
public long getLeaseExpirationTime()
public List<Locator> getDiscoveryLocators()
public List<Locator> getUserdataLocators()
public String toString()
toString
in class DiscoveredData
public QosUserData getUserData()
public void setAuthenticated(boolean b)
public boolean isAuthenticated()
Copyright © 2016. All rights reserved.