public class Discoverable extends Object
Constructor and Description |
---|
Discoverable(String name,
InetSocketAddress address) |
Discoverable(String name,
InetSocketAddress address,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
byte[] |
getPayload() |
InetSocketAddress |
getSocketAddress() |
int |
hashCode() |
String |
toString() |
public Discoverable(String name, InetSocketAddress address, byte[] payload)
public Discoverable(String name, InetSocketAddress address)
public String getName()
public InetSocketAddress getSocketAddress()
InetSocketAddress
representing the host+port of the service.public byte[] getPayload()
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.