Class RemoteAccessServer
java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.ssh.RemoteAccessServer
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server
A RemoteAccessServer grants access to the local terminal through a remote connection.
- Author:
- Dennis Pidun, University of Hildesheim
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA CredentialsManager stores credentials for the underlying ssh server. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate de.iip_ecosphere.platform.support.ssh.Ssh.SshServerstatic final Stringstatic final intprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, restricts creation to package only. -
Method Summary
-
Field Details
-
SSH_HOST
- See Also:
-
SSH_PORT
public static final int SSH_PORT- See Also:
-
server
private de.iip_ecosphere.platform.support.ssh.Ssh.SshServer server -
started
private boolean started -
credentialsManager
-
-
Constructor Details
-
RemoteAccessServer
RemoteAccessServer()Default constructor, restricts creation to package only.
-
-
Method Details
-
start
public de.iip_ecosphere.platform.support.Server start()- Specified by:
startin interfacede.iip_ecosphere.platform.support.Server
-
stop
public void stop(boolean dispose) - Specified by:
stopin interfacede.iip_ecosphere.platform.support.Server
-
isStarted
public boolean isStarted()Gets the started status.- Returns:
- started
-
getCredentialsManager
The credentials manager connected to the server.- Returns:
- the credentials manager
-