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