public interface IUpdateHandler
UDProxyDevice
implements this interface and no other objects
should try to implement this interfaceModifier and Type | Method and Description |
---|---|
NetworkConfig |
getNetworkConfig() |
boolean |
isClientAuthenticated() |
boolean |
isTLSSupported() |
boolean |
reboot(java.lang.String path) |
IUpdaterResponse |
requestProgramUpdate(java.lang.String path,
int content_len)
Tells ISY to prepare itself for a file upload
|
boolean |
saveAndProcessSystemConfigurationFile(java.lang.String name,
java.lang.String content) |
boolean |
uploadFile(java.lang.String path,
byte[] body,
char flag,
IUpdaterClient view) |
boolean |
verifyUpdatePackage(java.io.InputStream is,
long size) |
IUpdaterResponse requestProgramUpdate(java.lang.String path, int content_len)
path
- - the path to which the file is uploadedcontent_len
- - the content length of the file being uploadedIUpdaterResponse
if successfulboolean uploadFile(java.lang.String path, byte[] body, char flag, IUpdaterClient view)
boolean reboot(java.lang.String path)
boolean isClientAuthenticated()
boolean verifyUpdatePackage(java.io.InputStream is, long size)
NetworkConfig getNetworkConfig()
boolean saveAndProcessSystemConfigurationFile(java.lang.String name, java.lang.String content)
boolean isTLSSupported()