RSE
Release 1.0

org.eclipse.rse.subsystems.files.ftp.connectorservice
Class FTPConnectorService

java.lang.Object
  extended byorg.eclipse.rse.core.model.PropertySetContainer
      extended byorg.eclipse.rse.core.model.RSEModelObject
          extended byorg.eclipse.rse.core.subsystems.AbstractConnectorService
              extended byorg.eclipse.rse.subsystems.files.ftp.connectorservice.FTPConnectorService
All Implemented Interfaces:
IConnectorService, IPropertySetContainer, IRSEModelObject, org.eclipse.rse.core.persistance.IRSEPersistableContainer, ISystemUserIdConstants

public class FTPConnectorService
extends AbstractConnectorService


Nested Class Summary
 
Nested classes inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService
AbstractConnectorService.NewPasswordInfo
 
Field Summary
protected  FTPService _ftpService
           
 
Fields inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService
_remoteServerLauncherProperties, connectResult, launchResult, shell
 
Fields inherited from class org.eclipse.rse.core.model.RSEModelObject
_isDirty, _wasRestored
 
Fields inherited from interface org.eclipse.rse.core.ISystemUserIdConstants
USERID_LOCATION_CONNECTION, USERID_LOCATION_DEFAULT_OVERALL, USERID_LOCATION_DEFAULT_SYSTEMTYPE, USERID_LOCATION_NOTSET, USERID_LOCATION_SUBSYSTEM
 
Constructor Summary
FTPConnectorService(IHost host, int port)
           
 
Method Summary
 IFileService getFileService()
           
 boolean hasRemoteServerLauncherProperties()
           
 void internalConnect(IProgressMonitor monitor)
          You must override unless subsystem.getParentSubSystemConfiguration().supportsServerLaunchProperties returns true.
 void internalDisconnect(IProgressMonitor monitor)
           
 boolean isConnected()
          Return true if currently connected.
 boolean supportsRemoteServerLaunching()
           
 boolean supportsServerLaunchProperties()
          Tell us if this subsystem factory supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started.
 
Methods inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService
addCommunicationsListener, clearCommunicationListeners, clearPasswordCache, clearPasswordCache, clearPasswordForOtherSystemsInConnection, clearUserIdCache, commit, connect, deregisterSubSystem, disconnect, fireCommunicationsEvent, forcePasswordToUpperCase, getCommunicationListenerCount, getConnectPort, getDescription, getHomeDirectory, getHost, getHostName, getHostType, getLocalUserId, getName, getPasswordInformation, getPasswordPromptDialog, getPasswordValidator, getPort, getPrimarySubSystem, getRemoteServerLauncher, getRemoteServerLauncherProperties, getSignonValidator, getSubSystems, getTempDirectory, getUserId, getUserIdValidator, getVersionReleaseModification, hasRemoteSearchLauncherProperties, inheritConnectionUserPassword, intializeSubSystems, isEnabledServerLaunchType, isPasswordCached, isPasswordCached, isSuppressSignonPrompt, isUsingSSL, notifyConnection, notifyDisconnection, notifyError, promptForNewPassword, promptForPassword, registerSubSystem, removeCommunicationsListener, requiresPassword, requiresUserId, reset, setHost, setIsUsingSSL, setPassword, setPassword, setPasswordInformation, setPort, setRemoteServerLauncherProperties, setSuppressSignonPrompt, setUserId, shareUserPasswordWithConnection, supportsPassword, supportsUserId, unintializeSubSystems, updatePasswordForOtherSystemsInConnection
 
Methods inherited from class org.eclipse.rse.core.model.RSEModelObject
compareStrings, isDirty, setDirty, setWasRestored, wasRestored
 
Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet
 
Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer
isDirty, setDirty, setWasRestored, wasRestored
 

Field Detail

_ftpService

protected FTPService _ftpService
Constructor Detail

FTPConnectorService

public FTPConnectorService(IHost host,
                           int port)
Method Detail

internalConnect

public void internalConnect(IProgressMonitor monitor)
                     throws Exception
Description copied from class: AbstractConnectorService
You must override unless subsystem.getParentSubSystemConfiguration().supportsServerLaunchProperties returns true.

Attempt to connect to the remote system.
If the subsystem supports server launch, the default behavior is to get the remote server launcher by AbstractConnectorService.getRemoteServerLauncher(), and if IServerLauncher.isLaunched() returns false, to call IServerLauncher.launch(IProgressMonitor).

This is called, by default, from the connect(...) methods of the subsystem.

Overrides:
internalConnect in class AbstractConnectorService
Throws:
Exception

getFileService

public IFileService getFileService()

internalDisconnect

public void internalDisconnect(IProgressMonitor monitor)
Overrides:
internalDisconnect in class AbstractConnectorService

hasRemoteServerLauncherProperties

public boolean hasRemoteServerLauncherProperties()

supportsRemoteServerLaunching

public boolean supportsRemoteServerLaunching()

isConnected

public boolean isConnected()
Description copied from interface: IConnectorService
Return true if currently connected.


supportsServerLaunchProperties

public boolean supportsServerLaunchProperties()
Description copied from interface: IConnectorService
Tell us if this subsystem factory supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started. There is a Server Launch Setting property page, with a pluggable composite, where users can configure these properties.


RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.