com.universaldevices.autoupdate
Interface IUpdateHandler
- All Known Implementing Classes:
- UDProxyDevice
public interface IUpdateHandler
This interface is implemented by objects which have the capability of
affecting the ISY file structure.
UDProxyDevice
implements this interface and no other objects
should try to implement this interface
- Author:
- UD Architect
requestProgramUpdate
IUpdaterResponse requestProgramUpdate(java.lang.String path,
int content_len)
- Tells ISY to prepare itself for a file upload
- Parameters:
path
- - the path to which the file is uploadedcontent_len
- - the content length of the file being uploaded
- Returns:
- -
IUpdaterResponse
if successful
uploadFile
boolean uploadFile(java.lang.String path,
byte[] body,
char flag,
IUpdaterClient view)
reboot
boolean reboot(java.lang.String path)
isClientAuthenticated
boolean isClientAuthenticated()
verifyUpdatePackage
boolean verifyUpdatePackage(java.io.InputStream is,
long size)
getNetworkConfig
NetworkConfig getNetworkConfig()
saveAndProcessSystemConfigurationFile
boolean saveAndProcessSystemConfigurationFile(java.lang.String name,
java.lang.String content)