PTP
Release 5.0

org.eclipse.ptp.remote.core
Interface IRemoteServices

All Superinterfaces:
IRemoteServicesDescriptor
All Known Implementing Classes:
AbstractRemoteServices

public interface IRemoteServices
extends IRemoteServicesDescriptor


Method Summary
 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
 void initialize()
          Start initializing the remote service.
 boolean isInitialized()
          Check if the remote service is initialized
 
Methods inherited from interface org.eclipse.ptp.remote.core.IRemoteServicesDescriptor
canCreateConnections, getId, getName, getScheme
 

Method Detail

getConnectionManager

IRemoteConnectionManager getConnectionManager()
Get a connection manager for managing remote connections.

Returns:
connection manager or null if services are not initialized

getFileManager

IRemoteFileManager getFileManager(IRemoteConnection conn)
Get a file manager for managing remote files

Parameters:
conn - connection to use for managing files
Returns:
file manager or null if services are not initialized

getProcessBuilder

IRemoteProcessBuilder getProcessBuilder(IRemoteConnection conn,
                                        List<String> command)
Get a process builder for creating remote processes

Parameters:
conn - connection to use for creating remote processes
Returns:
process builder or null if services are not initialized

getProcessBuilder

IRemoteProcessBuilder getProcessBuilder(IRemoteConnection conn,
                                        String... command)
Get a process builder for creating remote processes

Parameters:
conn - connection to use for creating remote processes
Returns:
process builder or null if services are not initialized

initialize

void initialize()
Start initializing the remote service.


isInitialized

boolean isInitialized()
Check if the remote service is initialized

Returns:
true if successfully initialized, false otherwise

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.