$search
Classes | |
class | Factory |
class | UniqueNameAcrossInterface |
class | UniqueNamePerInterface |
Public Types | |
enum | NameType { HOST, SERVICE } |
Public Member Functions | |
abstract boolean | checkName (InetAddress networkInterface, String name, NameType type) |
abstract String | incrementHostName (InetAddress networkInterface, String name, NameType type) |
abstract void | register (InetAddress networkInterface, String name, NameType type) |
Definition at line 11 of file NameRegister.java.
Definition at line 16 of file NameRegister.java.
abstract boolean javax::jmdns::impl::NameRegister::checkName | ( | InetAddress | networkInterface, | |
String | name, | |||
NameType | type | |||
) | [pure virtual] |
Checks a name that is defended by this group of mDNS.
networkInterface | IP address to handle | |
name | name to check | |
type | name type to check |
true
if the name is not in conflict, flase
otherwise. Implemented in javax::jmdns::impl::NameRegister::UniqueNamePerInterface, and javax::jmdns::impl::NameRegister::UniqueNameAcrossInterface.
abstract String javax::jmdns::impl::NameRegister::incrementHostName | ( | InetAddress | networkInterface, | |
String | name, | |||
NameType | type | |||
) | [pure virtual] |
Increments a name that is defended by this group of mDNS after it has been found in conflict.
networkInterface | IP address to handle | |
name | name to increment | |
type | name type to increments |
Implemented in javax::jmdns::impl::NameRegister::UniqueNamePerInterface, and javax::jmdns::impl::NameRegister::UniqueNameAcrossInterface.
abstract void javax::jmdns::impl::NameRegister::register | ( | InetAddress | networkInterface, | |
String | name, | |||
NameType | type | |||
) | [pure virtual] |
Registers a name that is defended by this group of mDNS.
networkInterface | IP address to handle | |
name | name to register | |
type | name type to register |
Implemented in javax::jmdns::impl::NameRegister::UniqueNamePerInterface, and javax::jmdns::impl::NameRegister::UniqueNameAcrossInterface.