cgl.narada.discovery.broker
Class BrokerDiscoveryRequestForwardingService
java.lang.Object
cgl.narada.discovery.broker.BrokerDiscoveryRequestForwardingService
- All Implemented Interfaces:
- NBEventListener
public class BrokerDiscoveryRequestForwardingService
- extends Object
- implements NBEventListener
Functions asa client within the broker node. The function of this object is
to forward all discovery requests to other brokers who might be in the
system. Further on recieving a BrokerDiscovery request, we chech for the last
'N' requests (configured in config/BrokerConfiguration.txt using the
MAXBrokerDiscoRequests parameter)
Created on Mar 30, 2005
|
Method Summary |
void |
forwardRequest(byte[] request)
|
void |
onEvent(NBEvent nbEvent)
Upon the receipt of an event which has satisfied all the constraints, if
any were provided, that needed to be satisfied prior to delivery |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROKER_DISCOVERY_REQUEST_TOPIC
public static final String BROKER_DISCOVERY_REQUEST_TOPIC
- See Also:
- Constant Field Values
BrokerDiscoveryRequestForwardingService
public BrokerDiscoveryRequestForwardingService(ProtocolHandler _protocolHandler,
String configFileLocation)
shutdown
public void shutdown()
forwardRequest
public void forwardRequest(byte[] request)
onEvent
public void onEvent(NBEvent nbEvent)
- Description copied from interface:
NBEventListener
- Upon the receipt of an event which has satisfied all the constraints, if
any were provided, that needed to be satisfied prior to delivery
- Specified by:
onEvent in interface NBEventListener
For comments and suggestions please send
e-mail to
The NaradaBrokering Project