parent
518b048fe6
commit
099f8de10b
|
@ -1,32 +0,0 @@
|
|||
package com.dispose.ability;
|
||||
|
||||
import com.dispose.common.DisposeCapacityType;
|
||||
|
||||
/**
|
||||
* The interface Device dispose ability.
|
||||
*
|
||||
* @param <T> the type parameter
|
||||
* @author <huangxin@cmhi.chinamoblie.com>
|
||||
*/
|
||||
public interface DeviceDisposeAbility <T> {
|
||||
/**
|
||||
* Device dispose exec t.
|
||||
*
|
||||
* @param callback the callback
|
||||
* @param capType the cap type
|
||||
* @param ipAddr the ip addr
|
||||
* @param args the args
|
||||
* @return the t
|
||||
*/
|
||||
T deviceDisposeExec(DisposeTaskCallback callback, DisposeCapacityType capType, String ipAddr, Object... args);
|
||||
|
||||
/**
|
||||
* Device dispose stop t.
|
||||
*
|
||||
* @param callback the callback
|
||||
* @param capType the cap type
|
||||
* @param args the args
|
||||
* @return the t
|
||||
*/
|
||||
T deviceDisposeStop(DisposeTaskCallback callback, DisposeCapacityType capType, Object... args);
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package com.dispose.ability;
|
||||
|
||||
import com.dispose.common.ErrorCode;
|
||||
|
||||
/**
|
||||
* The interface Dispose task callback.
|
||||
*
|
||||
* @author <huangxin@cmhi.chinamoblie.com>
|
||||
*/
|
||||
public interface DisposeTaskCallback {
|
||||
/**
|
||||
* Upgrade status callback.
|
||||
*
|
||||
* @param err the err
|
||||
*/
|
||||
void upgradeStatusCallback(ErrorCode err);
|
||||
}
|
Loading…
Reference in New Issue