Package | Description |
---|---|
update.remote.imond |
Modifier and Type | Method and Description |
---|---|
private boolean |
SynchronizeLogic.areWeInAdminMode()
This method checks if we are in the admin mode.
|
java.lang.String |
SynchronizeLogic.authenticate(java.lang.String password)
The method authenticates the user on fli4l and lets check the password.
|
void |
SynchronizeCommunication.connect(java.lang.String server,
int port)
This method creates a socket for the communication to the router.
|
void |
SynchronizeCommunication.disconnect()
This method disconnects the connection to imond.
|
java.lang.String |
SynchronizeCommunication.pass()
This method checks, if a password exists.
|
java.lang.String |
SynchronizeCommunication.pass(java.lang.String password)
This method sends the password to the imond and gets an answer if the password is correct or
gives the information, that the imond is in the admin mode.
|
private static void |
MainImond.receiveCommandsRun(java.lang.String buildPathLocal,
java.lang.String passwordLocal)
This method runs the receive method of SynchronizeCommunication for all files, which are
necessary for /boot/ on fli4l.
|
void |
SynchronizeCommunication.receiveFile(java.lang.String filename,
java.lang.String buildPath,
java.lang.String pass)
This method instructs imond to receive a file.
|
private java.lang.String |
SynchronizeCommunication.sendCommand(java.lang.String command,
boolean expectingAnswer)
This method sends a command to the imond, if necessary: with the essential information.
|
private void |
SynchronizeLogic.switchToAdminMode(java.lang.String adminPwd)
This method switches to admin mode, if the password is the admin password.
|