com.threerings.presents.util
Class ConfirmAdapter
java.lang.Object
com.threerings.presents.util.IgnoreConfirmAdapter<Void>
com.threerings.presents.util.ConfirmAdapter
- All Implemented Interfaces:
- ResultListener<Void>
public class ConfirmAdapter
- extends IgnoreConfirmAdapter<Void>
Adapts the response from a ResultListener to a InvocationService.ConfirmListener if the failure is
an instance of InvocationException the message will be passed on to the confirm
listener, otherwise they will be provided with InvocationCodes.INTERNAL_ERROR.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfirmAdapter
public ConfirmAdapter(InvocationService.ConfirmListener listener)
- Creates an adapter with the supplied listener.