public static class NameRegister.UniqueNameAcrossInterface extends NameRegister.BaseRegister
NameRegister.BaseRegister, NameRegister.Factory, NameRegister.NameType, NameRegister.UniqueNameAcrossInterface, NameRegister.UniqueNamePerInterface| 构造器和说明 |
|---|
UniqueNameAcrossInterface() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
incrementName(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.
|
incrementNameWithDash, incrementNameWithParentesispublic void register(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
NameRegisternetworkInterface - IP address to handlename - name to registertype - name type to registerpublic boolean checkName(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
NameRegisternetworkInterface - IP address to handlename - name to checktype - name type to checktrue if the name is not in conflict, flase otherwise.public java.lang.String incrementName(java.net.InetAddress networkInterface,
java.lang.String name,
NameRegister.NameType type)
NameRegisternetworkInterface - IP address to handlename - name to incrementtype - name type to increments