Classes | Public Member Functions
javax.jmdns.impl.NameRegister Interface Reference
Inheritance diagram for javax.jmdns.impl.NameRegister:
Inheritance graph
[legend]

List of all members.

Classes

class  Factory
enum  NameType
class  UniqueNameAcrossInterface
class  UniqueNamePerInterface

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)

Detailed Description

Definition at line 11 of file NameRegister.java.


Member Function Documentation

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.

Parameters:
networkInterfaceIP address to handle
namename to check
typename type to check
Returns:
true if the name is not in conflict, flase otherwise.

Implemented in javax.jmdns.impl.NameRegister.UniqueNameAcrossInterface, and javax.jmdns.impl.NameRegister.UniqueNamePerInterface.

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.

Parameters:
networkInterfaceIP address to handle
namename to increment
typename type to increments
Returns:
new name

Implemented in javax.jmdns.impl.NameRegister.UniqueNameAcrossInterface, and javax.jmdns.impl.NameRegister.UniqueNamePerInterface.

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.

Parameters:
networkInterfaceIP address to handle
namename to register
typename type to register

Implemented in javax.jmdns.impl.NameRegister.UniqueNameAcrossInterface, and javax.jmdns.impl.NameRegister.UniqueNamePerInterface.


The documentation for this interface was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27