public interface NameRegister
Modifier and Type | Interface and Description |
---|---|
static class |
NameRegister.Factory |
static class |
NameRegister.NameType |
static class |
NameRegister.UniqueNameAcrossInterface |
static class |
NameRegister.UniqueNamePerInterface |
Modifier and Type | Method and Description |
---|---|
boolean |
checkName(InetAddress networkInterface,
String name,
NameRegister.NameType type)
Checks a name that is defended by this group of mDNS.
|
String |
incrementHostName(InetAddress networkInterface,
String name,
NameRegister.NameType type)
Increments a name that is defended by this group of mDNS after it has been found in conflict.
|
void |
register(InetAddress networkInterface,
String name,
NameRegister.NameType type)
Registers a name that is defended by this group of mDNS.
|
void register(InetAddress networkInterface, String name, NameRegister.NameType type)
networkInterface
- IP address to handlename
- name to registertype
- name type to registerboolean checkName(InetAddress networkInterface, String name, NameRegister.NameType type)
networkInterface
- IP address to handlename
- name to checktype
- name type to checktrue
if the name is not in conflict, flase
otherwise.String incrementHostName(InetAddress networkInterface, String name, NameRegister.NameType type)
networkInterface
- IP address to handlename
- name to incrementtype
- name type to incrementsCopyright © 2002–2019 JmDNS. All rights reserved.