if (!asynchNotificationRequired) {
theDF.removePendingRequest(action);
// The requested action has been completed. Prepare the notification
ACLMessage notification = request.createReply();
notification.setPerformative(ACLMessage.INFORM);
Predicate p = null;
if (result != null) {
// The action produced a result
p = new Result(slAction, result);
}
else {