summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0-Beta2-RC1/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/JDKAsyncResponseInvoker.java
blob: 3dc40e8d67f3f0402c22b322dbb47f31ffa6794c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.apache.tuscany.sca.core.invocation;

import org.apache.tuscany.sca.invocation.InvokerAsyncResponse;

public interface JDKAsyncResponseInvoker extends InvokerAsyncResponse {
	
	/**
	 * Registers an Async response, which provides an ID which identifies a given response
	 * and an object which can handle the response
	 * @param id - the ID
	 * @param responseHandler - the response handler object
	 */
	public void registerAsyncResponse( String id, Object responseHandler );

} // end interface JDKAsyncResponseInvoker