com.intel.gpe.client2
Interface Client

All Superinterfaces:
AsyncClient, MessageProvider, SimpleMessageProvider
All Known Subinterfaces:
WorkflowClient
All Known Implementing Classes:
ClientAdapter

public interface Client
extends AsyncClient, MessageProvider

Version:
$Id: Client.java,v 1.8 2006/12/19 11:43:20 dizhigul Exp $
Author:
Alexander Lukichev, Valery Shorin

Method Summary
 void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient, java.util.List<FileTransfer> transfers, com.intel.gpe.util.observer.IObserver observer, FileTransferProgressListener progress)
           
 void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient, java.util.List<Pair<GPEFile,java.lang.String>> transfers, com.intel.gpe.util.observer.IObserver observer)
          Deprecated.  
 void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient, java.util.List<Pair<GPEFile,java.lang.String>> transfers, com.intel.gpe.util.observer.IObserver observer, FileFetchingProgressListener progress)
          Deprecated.  
 MessageAdapter getMessageAdapter()
          Deprecated. 
 java.util.List<com.intel.gpe.clients.api.RegistryClient> getRegistries()
          Get client's registries list.
 com.intel.gpe.clients.api.RegistryClient getSelectedRegistry()
          Get the selected registry.
 com.intel.gpe.clients.api.TargetSystemClient getSelectedTargetSystem()
          Get the selected target system.
 NamedGPEFile newTemporaryFile(java.lang.String localFileName)
          Create the temporary file in the GridBean's local temporary directory corresponding to the remote file.
 
Methods inherited from interface com.intel.gpe.client2.AsyncClient
executeRequest, executeRequest
 
Methods inherited from interface com.intel.gpe.client2.providers.MessageProvider
showException, showMessage
 
Methods inherited from interface com.intel.gpe.client2.providers.SimpleMessageProvider
show, show
 

Method Detail

getSelectedRegistry

com.intel.gpe.clients.api.RegistryClient getSelectedRegistry()
Get the selected registry.

Returns:
the selected registry

getRegistries

java.util.List<com.intel.gpe.clients.api.RegistryClient> getRegistries()
Get client's registries list.

Returns:
the list of RegistryClient objects

getSelectedTargetSystem

com.intel.gpe.clients.api.TargetSystemClient getSelectedTargetSystem()
Get the selected target system.

Returns:
the TargetSystemClient object; null if nothing is selected

fetchFiles

void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient,
                java.util.List<Pair<GPEFile,java.lang.String>> transfers,
                com.intel.gpe.util.observer.IObserver observer)
Deprecated. 

Fetch the files from the remote file system.

Parameters:
storageClient - - the storage to fetch the files from
transfer - - the list of the pairs containing the local file to fetch to and the target system path to fetch from
observer - - the observer

fetchFiles

void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient,
                java.util.List<FileTransfer> transfers,
                com.intel.gpe.util.observer.IObserver observer,
                FileTransferProgressListener progress)
Parameters:
storageClient -
transfers -
observer -
progress - the progress listener (may be null)

fetchFiles

void fetchFiles(com.intel.gpe.clients.api.StorageClient storageClient,
                java.util.List<Pair<GPEFile,java.lang.String>> transfers,
                com.intel.gpe.util.observer.IObserver observer,
                FileFetchingProgressListener progress)
Deprecated. 

Fetch the files from the remote file system. A progress listener may be specified.

Parameters:
storageClient - - the storage to fetch the files from
transfer - - the list of the pairs containing the local file to fetch to and the target system path to fetch from
observer - - the observer
progress - - the progress listener

newTemporaryFile

NamedGPEFile newTemporaryFile(java.lang.String localFileName)
Create the temporary file in the GridBean's local temporary directory corresponding to the remote file.

Parameters:
localFileName - - the local name of the file
Returns:
the created NamedGPEFile instance

getMessageAdapter

@Deprecated
MessageAdapter getMessageAdapter()
Deprecated. 

Get the MessageAdapter.

Returns:
the MessageAdapter MessageAdapter object;


Copyright © 2008. All Rights Reserved.