public interface Listener
| Modifier and Type | Method and Description |
|---|---|
void |
handleException(Exception e)
Exceptions thrown out by @see notify is handled.
|
void |
notify(com.aliyun.drc.client.message.DataMessage message)
Message is notified to the listener.
|
void |
notifyRuntimeLog(String level,
String log)
Message
|
void notify(com.aliyun.drc.client.message.DataMessage message)
throws Exception
message - messageException - Exceptionvoid notifyRuntimeLog(String level, String log) throws Exception
level - is log level.log - is log information.Exception - Exceptionvoid handleException(Exception e)
e - is the handled exception.Copyright © 2019. All Rights Reserved.