public interface ResolverListener
extends java.util.EventListener
Resolver| Modifier and Type | Method and Description |
|---|---|
void |
handleException(java.lang.Object id,
java.lang.Exception e)
The callback used by an asynchronous resolver when an exception is thrown
|
void |
receiveMessage(java.lang.Object id,
Message m)
The callback used by an asynchronous resolver
|
void receiveMessage(java.lang.Object id,
Message m)
id - The identifier returned by Resolver.sendAsync()m - The response message as returned by the Resolvervoid handleException(java.lang.Object id,
java.lang.Exception e)
id - The identifier returned by Resolver.sendAsync()e - The thrown exception