org.jmx4odp.j4oNet
Class BroadcastResolver
java.lang.Object
  
org.jmx4odp.j4oNet.MBeanResolver
      
org.jmx4odp.j4oNet.BroadcastResolver
- All Implemented Interfaces: 
 - javax.management.MBeanRegistration, MBeanResolverMBean
 
public class BroadcastResolver
- extends MBeanResolver
 
This object takes request for jmx service reolution, and broadcasts it as a UDP packet that
 a J4ONet object listing on the same broadcast group and port will reply to. This is the
 version 1 of the J4ONet discovery protocol. If this object were to generate another version
 stamp, the current system would ignore it.
 It then listens for x ms (BroadcastReplyTimeout in the config jso) for UDP replies sent
 by J4ONet.
- Author:
 
  - Lucas McGregor
 
 
 
 
 
| Methods inherited from class org.jmx4odp.j4oNet.MBeanResolver | 
getActive, getCachable, getNameSpace, getThreshHold, inNameSpace, postDeregister, postRegister, preDeregister, preRegister, registered, resolve, setActive, setCachable, setNameSpace, setThreshHold | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BroadcastResolver
public BroadcastResolver()
- Creates new BroadcastResolver
 
getProtocolVersion
public int getProtocolVersion()
- Return the version of the dicovery protocol that is in use
 by this object.
 
 
setLocalConfig
public void setLocalConfig(JmxServiceObj jso)
 
getLocalConfig
public JmxServiceObj getLocalConfig()
 
handleMBeanRequest
protected JmxServiceObj[] handleMBeanRequest(JmxServiceObj jso)
- Description copied from class: 
MBeanResolver 
- this is what all the children MBeanResolvers should over write.
- Overrides:
 handleMBeanRequest in class MBeanResolver
 
 
 
handleAgentRequest
protected JmxServiceObj[] handleAgentRequest(JmxServiceObj jso)
- Overrides:
 handleAgentRequest in class MBeanResolver
 
 
handleRequest
protected JmxServiceObj[] handleRequest(JmxServiceObj jso)
 
discoverServices
public JmxServiceObj[] discoverServices(JmxServiceObj jso)
                                 throws java.lang.Exception
- Throws:
 java.lang.Exception