Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] PTP remote abstraction layer

Here are some requirements for an initial remote abstraction layer for PTP:

1. Remote command execution. Execute an arbitrary command on a remote system. The remote command should extend the Process class, making stdin, stdout and stderr available via separate Streams.

Suggested interface:

public class RemoteProcess extends Process;

RemoteProcess p = Remote.exec(IRemoteConnection conn, String cmd, String[] args);

2. Connection management. This would provide functionality for managing (adding/removing, etc.) IRemoteConnection's that contain the hostname, username, password and system type (SSH, etc.) for the connection.

3. Remote file browser. This would provide the equivalent functionality to FileDialog on the remote machine. It is needed to allow the user to browse for the proxy executable if necessary.

Suggested interface:

public class RemoteFileDialog extends FileDialog;

4. Remote file transfer. Allows the transfer of files between local/ remote and remote/remote connections.

Suggested interface:

This should just use the IFileStore interface.



Back to the top