@@ -0,0 +1,1982 @@
+/*%0A * #%25L%0A * mosaic-cloudlets%0A * %25%25%0A * Copyright (C) 2010 - 2012 Institute e-Austria Timisoara (Romania)%0A * %25%25%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A *      http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * #L%25%0A */%0A%0Apackage eu.mosaic_cloud.cloudlets.tools;%0A%0A%0Aimport eu.mosaic_cloud.cloudlets.connectors.httpg.HttpgQueueRequestedCallbackArguments;%0Aimport eu.mosaic_cloud.cloudlets.connectors.httpg.IHttpgQueueConnectorCallback;%0Aimport eu.mosaic_cloud.cloudlets.core.GenericCallbackCompletionArguments;%0Aimport eu.mosaic_cloud.tools.callbacks.core.CallbackCompletion;%0A%0A%0Apublic class DefaultHttpgQueueConnectorCallback%3CTContext, TRequestBody, TResponseBody, TExtra%3E%0A%09%09extends DefaultQueueConnectorCallback%3CTContext%3E%0A%09%09implements%0A%09%09%09IHttpgQueueConnectorCallback%3CTContext, TRequestBody, TResponseBody, TExtra%3E%0A%7B%0A%09@Override%0A%09public CallbackCompletion%3CVoid%3E requested (final TContext context, final HttpgQueueRequestedCallbackArguments%3CTRequestBody%3E arguments)%0A%09%7B%0A%09%09return this.handleUnhandledCallback (arguments, %22Consume%22, true, false);%0A%09%7D%0A%09%0A%09@Override%0A%09public CallbackCompletion%3CVoid%3E respondFailed (final TContext context, final GenericCallbackCompletionArguments%3CTExtra%3E arguments)%0A%09%7B%0A%09%09return this.handleUnhandledCallback (arguments, %22Acknowledge Failed%22, false, false);%0A%09%7D%0A%09%0A%09@Override%0A%09public CallbackCompletion%3CVoid%3E respondSucceeded (final TContext context, final GenericCallbackCompletionArguments%3CTExtra%3E arguments)%0A%09%7B%0A%09%09return this.handleUnhandledCallback (arguments, %22Acknowledge Succeeded%22, true, false);%0A%09%7D%0A%7D%0A

Add default HTTP-Gateway connector callbacks