DiscoveredEndpointInfo

  • DiscoveredEndpointInfo is a class containing information about an endpoint when it is discovered.

  • It has a public constructor that takes a serviceId and endpointName as arguments.

  • Public methods include getEndpointInfo, getEndpointName, and getServiceId to retrieve information about the discovered endpoint.

  • It inherits methods from the java.lang.Object class.

public final class DiscoveredEndpointInfo extends Object

Information about an endpoint when it's discovered.

Public Constructor Summary

DiscoveredEndpointInfo(String serviceId, String endpointName)
Creates a new DiscoveredEndpointInfo.

Public Method Summary

byte[]
getEndpointInfo()
Information advertised by the remote endpoint.
String
getEndpointName()
The human readable name of the remote endpoint.
String
getServiceId()
The ID of the service advertised by the remote endpoint.

Inherited Method Summary

Public Constructors

public DiscoveredEndpointInfo (String serviceId, String endpointName)

Creates a new DiscoveredEndpointInfo.

Public Methods

public byte[] getEndpointInfo ()

Information advertised by the remote endpoint.

public String getEndpointName ()

The human readable name of the remote endpoint.

public String getServiceId ()

The ID of the service advertised by the remote endpoint.