public CallbackCompletion<Void> completed (final CallbackCompletion<?> completion_)
{
assert (completion_ == completion);
if (completion.getException () != null) {
BaseConnector.this.transcript.traceDebugging ("triggering the callback for initialize failure...");
return BaseConnector.this.callback.initializeFailed (BaseConnector.this.context, new CallbackArguments (BaseConnector.this.cloudlet));
}
BaseConnector.this.transcript.traceDebugging ("triggering the callback for initialize success...");
return BaseConnector.this.callback.initializeSucceeded (BaseConnector.this.context, new CallbackArguments (BaseConnector.this.cloudlet));
}
});
}
return completion;
}