Package org.apache.ofbiz.service
Interface GenericRequester
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
GenericResultWaiter
public interface GenericRequester extends java.io.Serializable
Generic Requester Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
receiveResult(java.util.Map<java.lang.String,java.lang.Object> result)
Receive the result of an asynchronous service callvoid
receiveThrowable(java.lang.Throwable t)
Receive an exception (Throwable) from an asynchronous service cell
-
-
-
Method Detail
-
receiveResult
void receiveResult(java.util.Map<java.lang.String,java.lang.Object> result)
Receive the result of an asynchronous service call- Parameters:
result
- Map of name, value pairs composing the result
-
receiveThrowable
void receiveThrowable(java.lang.Throwable t)
Receive an exception (Throwable) from an asynchronous service cell- Parameters:
t
- The Throwable which was received
-
-