/** * Send a backward command. */ public void sendBackwardCommand(final Object info) { func.sendBackwardCommand(info, new IResultListener<Void>() { public void resultAvailable(Void v) { DelegatingTerminableIntermediateDelegationFuture.super.sendBackwardCommand(info); } public void exceptionOccurred(Exception exception) { // Hack!!! termination in functionality failed -> should change result of future to failure? func.getLogger().warning("Exception when sending backward command: "+exception); DelegatingTerminableIntermediateDelegationFuture.super.sendBackwardCommand(info); } }); }
/** * Send a backward command. */ public void sendBackwardCommand(final Object info) { func.sendBackwardCommand(info, new IResultListener<Void>() { public void resultAvailable(Void v) { DelegatingPullSubscriptionIntermediateDelegationFuture.super.sendBackwardCommand(info); } public void exceptionOccurred(Exception exception) { // Hack!!! termination in functionality failed -> should change result of future to failure? func.getLogger().warning("Exception when sending backward command: "+exception); DelegatingPullSubscriptionIntermediateDelegationFuture.super.sendBackwardCommand(info); } }); }
/** * Send a backward command. */ public void sendBackwardCommand(final Object info) { func.sendBackwardCommand(info, new IResultListener<Void>() { public void resultAvailable(Void v) { DelegatingPullIntermediateDelegationFuture.super.sendBackwardCommand(info); } public void exceptionOccurred(Exception exception) { // Hack!!! termination in functionality failed -> should change result of future to failure? func.getLogger().warning("Exception when sending backward command: "+exception); DelegatingPullIntermediateDelegationFuture.super.sendBackwardCommand(info); } }); }
/** * Send a backward command. */ public void sendBackwardCommand(final Object info) { func.sendBackwardCommand(info, new IResultListener<Void>() { public void resultAvailable(Void v) { DelegatingSubscriptionIntermediateDelegationFuture.super.sendBackwardCommand(info); } public void exceptionOccurred(Exception exception) { // Hack!!! termination in functionality failed -> should change result of future to failure? func.getLogger().warning("Exception when sending backward command: "+exception); DelegatingSubscriptionIntermediateDelegationFuture.super.sendBackwardCommand(info); } }); }
/** * Send a backward command. */ public void sendBackwardCommand(final Object info) { func.sendBackwardCommand(info, new IResultListener<Void>() { public void resultAvailable(Void v) { DelegatingTerminableDelegationFuture.super.sendBackwardCommand(info); } public void exceptionOccurred(Exception exception) { // Hack!!! termination in functionality failed -> should change result of future to failure? func.getLogger().warning("Exception when sending backward command: "+exception); DelegatingTerminableDelegationFuture.super.sendBackwardCommand(info); } }); }