Previous Topic

Next Topic

Book Contents

Book Index

System Architecture

The following classes and interfaces describe the architecture of the mDNS module.

MDNS Admin Interface

The MDNSAdmin interface is the main entry point for managing services over IP network using mDNS and DNS-SD. The mDNS is used for resolving hostnames and DNS-SD is used for publishing and discovering services. Under this interface an OSGi service having specific implementation should be registered.

Currently, the only available implementation is the one over JmDNS. Once registered the MDNSAdmin implementation over JmDNS initializes the underlying JmDNS module.

The MDNSAdmin interface contains the following methods:

Service Instance

The ServiceInstance class represents physical instance of a service. A service must have descriptor and must be bound to specific domain, host name port and network interface.

There is a property location showing if the service is running on the same process, on the same machine or on a remote machine.

Each service instance has the following properties:

Service Instance Registration

The ServiceInstanceRegistration interface provides means for managing service after it has been populated for registering.

The following methods are present here: