com.threerings.presents.client
Class LoggingListener
java.lang.Object
com.threerings.presents.client.LoggingListener
- All Implemented Interfaces:
- InvocationService.InvocationListener
public class LoggingListener
- extends Object
- implements InvocationService.InvocationListener
Implements the basic InvocationService.InvocationListener and logs the failure.
|
Constructor Summary |
LoggingListener(Logger log,
String errmsg)
Constructs a listener that will report the supplied error message along with the reason for
failure to the supplied log object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_logger
protected Logger _logger
_errmsg
protected String _errmsg
LoggingListener
public LoggingListener(Logger log,
String errmsg)
- Constructs a listener that will report the supplied error message along with the reason for
failure to the supplied log object.
requestFailed
public void requestFailed(String reason)
- Description copied from interface:
InvocationService.InvocationListener
- Called to report request failure. If the invocation services system detects failure of
any kind, it will report it via this callback. Particular services may also make use of
this callback to report failures of their own, or they may opt to define more specific
failure callbacks.
- Specified by:
requestFailed in interface InvocationService.InvocationListener