Package COM.activesw.api.client
Class BrokerCBWait
- java.lang.Object
-
- COM.activesw.api.client.BrokerCBWait
-
- All Implemented Interfaces:
BrokerCallback
public class BrokerCBWait extends java.lang.Object implements BrokerCallback
This class is a data structure and callback object.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
done
BrokerEvent[]
events
int
num
boolean
timeout
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
handleBrokerEvent​(BrokerClient client, BrokerEvent event, java.lang.Object client_data)
Implement this method to handle the Information Broker event callbacks.
-
-
-
Field Detail
-
done
public boolean done
-
timeout
public boolean timeout
-
num
public int num
-
events
public BrokerEvent[] events
-
-
Method Detail
-
handleBrokerEvent
public boolean handleBrokerEvent​(BrokerClient client, BrokerEvent event, java.lang.Object client_data)
Description copied from interface:BrokerCallback
Implement this method to handle the Information Broker event callbacks. The event should not be modified in any way because it may be passed to other callbacks. Callback methods should return true if they want the event acknowledged (as with BrokerClient.acknowledgeThrough). If any function returns false, then the event is not acknowledged.- Specified by:
handleBrokerEvent
in interfaceBrokerCallback
-
-