$search

javax::jmdns::impl::NameRegister Interface Reference

Inheritance diagram for javax::jmdns::impl::NameRegister:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 11 of file NameRegister.java.


Member Enumeration Documentation

Enumerator:
HOST 

This name represents a host name

SERVICE 

This name represents a service name

Definition at line 16 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:
networkInterface IP address to handle
name name to check
type name type to check
Returns:
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.

Parameters:
networkInterface IP address to handle
name name to increment
type name type to increments
Returns:
new name

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.

Parameters:
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.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


zeroconf_jmdns
Author(s): Daniel Stonier
autogenerated on Wed Jan 16 12:20:35 2013