|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteServices
Abstraction of a remote services provider. Clients obtain this interface using one of the static methods in
RemoteServices. The methods on this interface can then be used to access the full range of remote services provided.
| Method Summary | |
|---|---|
IRemoteProcess |
getCommandShell(IRemoteConnection conn,
int flags)
Get a remote process that runs a command shell on the remote system. |
IRemoteConnectionManager |
getConnectionManager()
Get a connection manager for managing remote connections. |
IRemoteFileManager |
getFileManager(IRemoteConnection conn)
Get a file manager for managing remote files |
IRemoteProcessBuilder |
getProcessBuilder(IRemoteConnection conn,
List<String> command)
Get a process builder for creating remote processes |
IRemoteProcessBuilder |
getProcessBuilder(IRemoteConnection conn,
String... command)
Get a process builder for creating remote processes |
boolean |
initialize(IProgressMonitor monitor)
Initialize the remote service. |
| Methods inherited from interface org.eclipse.ptp.remote.core.IRemoteServicesDescriptor |
|---|
canCreateConnections, getId, getName, getScheme |
| Method Detail |
|---|
IRemoteConnectionManager getConnectionManager()
IRemoteFileManager getFileManager(IRemoteConnection conn)
conn - connection to use for managing files
IRemoteProcessBuilder getProcessBuilder(IRemoteConnection conn,
List<String> command)
conn - connection to use for creating remote processes
IRemoteProcessBuilder getProcessBuilder(IRemoteConnection conn,
String... command)
conn - connection to use for creating remote processes
IRemoteProcess getCommandShell(IRemoteConnection conn,
int flags)
throws IOException
IRemoteProcessBuilder.getSupportedFlags() to find out the flags
supported by the service provider.
Current flags are:IRemoteProcessBuilder.NONE- disable any flagsIRemoteProcessBuilder.ALLOCATE_PTY- allocate a pseudo-terminal for the process (RFC-4254 Sec. 6.2)IRemoteProcessBuilder.FORWARD_X11- enable X11 forwarding (RFC-4254 Sec. 6.3)
conn - connection used for creating the remote processflags - bitwise-or of flags
IOExceptionboolean initialize(IProgressMonitor monitor)
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||