public class DiscoveryMulticastResponder extends Object
Constructor and Description |
---|
DiscoveryMulticastResponder(AgentDetailsHolder pDetailsHolder,
Restrictor pRestrictor,
LogHandler pLogHandler)
Create the responder which can be started and stopped and which detects the address to listen on on its own.
|
DiscoveryMulticastResponder(InetAddress pHostAddress,
AgentDetailsHolder pDetailsHolder,
Restrictor pRestrictor,
LogHandler pLogHandler)
Create the responder which can be started and stopped
|
Modifier and Type | Method and Description |
---|---|
void |
start()
Start the responder (if not already started)
|
void |
stop()
Stop the responder (if not already stopped).
|
public DiscoveryMulticastResponder(AgentDetailsHolder pDetailsHolder, Restrictor pRestrictor, LogHandler pLogHandler) throws UnknownHostException
pDetailsHolder
- holds the details for an agentpRestrictor
- restrictor used for avoiding responding to sites which are not allowed to connectpLogHandler
- used for logging and debuggingIOException
- when the host is not known.UnknownHostException
public DiscoveryMulticastResponder(InetAddress pHostAddress, AgentDetailsHolder pDetailsHolder, Restrictor pRestrictor, LogHandler pLogHandler)
pHostAddress
- host address from which the binding is performedpDetailsHolder
- holds the details for an agentpRestrictor
- restrictor used for avoiding responding to sites which are not allowed to connectpLogHandler
- used for logging and debuggingpublic void start() throws IOException
IOException
public void stop()
Copyright © 2016. All rights reserved.