javax.jmdns.impl
Class NameRegister.UniqueNamePerInterface
java.lang.Object
javax.jmdns.impl.NameRegister.UniqueNamePerInterface
- All Implemented Interfaces:
- NameRegister
- Enclosing interface:
- NameRegister
public static class NameRegister.UniqueNamePerInterface
- extends Object
- implements NameRegister
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameRegister.UniqueNamePerInterface
public NameRegister.UniqueNamePerInterface()
register
public void register(InetAddress networkInterface,
String name,
NameRegister.NameType type)
- Description copied from interface:
NameRegister
- Registers a name that is defended by this group of mDNS.
- Specified by:
register
in interface NameRegister
- Parameters:
networkInterface
- IP address to handlename
- name to registertype
- name type to register
checkName
public boolean checkName(InetAddress networkInterface,
String name,
NameRegister.NameType type)
- Description copied from interface:
NameRegister
- Checks a name that is defended by this group of mDNS.
- Specified by:
checkName
in interface NameRegister
- Parameters:
networkInterface
- IP address to handlename
- name to checktype
- name type to check
- Returns:
true
if the name is not in conflict, flase
otherwise.
incrementHostName
public String incrementHostName(InetAddress networkInterface,
String name,
NameRegister.NameType type)
- Description copied from interface:
NameRegister
- Increments a name that is defended by this group of mDNS after it has been found in conflict.
- Specified by:
incrementHostName
in interface NameRegister
- Parameters:
networkInterface
- IP address to handlename
- name to incrementtype
- name type to increments
- Returns:
- new name
Copyright © 2002-2011 JmDNS. All Rights Reserved.