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(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
Checks a name that is defended by this group of mDNS.
|
java.lang.String |
incrementHostName(java.net.InetAddress networkInterface,
java.lang.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(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
Registers a name that is defended by this group of mDNS.
|
void register(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
networkInterface - IP address to handlename - name to registertype - name type to registerboolean checkName(java.net.InetAddress networkInterface,
java.lang.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.java.lang.String incrementHostName(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
networkInterface - IP address to handlename - name to incrementtype - name type to increments