Package org.jivesoftware.openfire.net
Class MulticastDNSService
- java.lang.Object
-
- org.jivesoftware.openfire.container.BasicModule
-
- org.jivesoftware.openfire.net.MulticastDNSService
-
- All Implemented Interfaces:
Module
public class MulticastDNSService extends BasicModule
Publishes Openfire information as a service using the Multicast DNS (marketed by Apple as Rendezvous) protocol. This lets other nodes on the local network to discover the name and port of Openfire.The multicast DNS entries published:
- Client connections: type of "_xmpp-client._tcp.local.".
- Component connections: type of "_xmpp-component._tcp.local.".
- Author:
- Matt Tucker
-
-
Constructor Summary
Constructors Constructor Description MulticastDNSService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Destroys the module.voidinitialize(XMPPServer server)Initializes the basic module.voidstart()Starts the basic module.voidstop()Stops the basic module.-
Methods inherited from class org.jivesoftware.openfire.container.BasicModule
getName
-
-
-
-
Method Detail
-
initialize
public void initialize(XMPPServer server)
Description copied from class:BasicModuleInitializes the basic module.
Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.
- Specified by:
initializein interfaceModule- Overrides:
initializein classBasicModule- Parameters:
server- the server hosting this module.
-
start
public void start() throws IllegalStateExceptionDescription copied from class:BasicModuleStarts the basic module.
Inheriting classes that choose to override this method MUST call this start() method before accessing BasicModule resources.
- Specified by:
startin interfaceModule- Overrides:
startin classBasicModule- Throws:
IllegalStateException- If start is called before initialize successfully returns
-
stop
public void stop()
Description copied from class:BasicModuleStops the basic module.
Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.
- Specified by:
stopin interfaceModule- Overrides:
stopin classBasicModule
-
destroy
public void destroy()
Description copied from class:BasicModuleDestroys the module.
Does nothing in the basic module.
- Specified by:
destroyin interfaceModule- Overrides:
destroyin classBasicModule
-
-