webMethods Admin
Version 7.1.0.0.211 082207

COM.activesw.api.client
Interface BrokerCPSelectionCallback


public interface BrokerCPSelectionCallback

This class is implemented by any object which implements a cluster publisher selection callback for cluster operations.


Method Summary
 int chooseClusterClient(BrokerClusterPublisher bcp, BrokerEvent[] event, BrokerInfo[] bi, java.lang.Object client_data)
          Implement this method to select a cluster client to be used for multi-publish operation.
 int chooseClusterClient(BrokerClusterPublisher bcp, BrokerEvent event, BrokerInfo[] bi, java.lang.Object client_data)
          Implement this method to select a cluster client to be used for single publish operation.
 

Method Detail

chooseClusterClient

int chooseClusterClient(BrokerClusterPublisher bcp,
                        BrokerEvent event,
                        BrokerInfo[] bi,
                        java.lang.Object client_data)
Implement this method to select a cluster client to be used for single publish operation. Returning an invalid index value (less than 0 or out of the bi array bounds would cause the BrokerClusterPublisher to resort to the default selection policy.


chooseClusterClient

int chooseClusterClient(BrokerClusterPublisher bcp,
                        BrokerEvent[] event,
                        BrokerInfo[] bi,
                        java.lang.Object client_data)
Implement this method to select a cluster client to be used for multi-publish operation. Returning an invalid index value (less than 0 or out of the bi array bounds would cause the BrokerClusterPublisher to resort to the default selection policy.


webMethods Admin
Version 7.1.0.0.211 082207

webMethods Broker is a registered trademark of webMethods, Inc.
Copyright 2005 webMethods, Inc.
All Rights Reserved.