|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.subsystems.files.dstore.old.DownloadListener
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.rse.services.clientserver.IServiceConstants |
|---|
FAILED, FAILED_TO_DELETE_DIR, FAILED_WITH_DOES_NOT_EXIST, FAILED_WITH_EXCEPTION, FAILED_WITH_EXIST, FAILED_WITH_SECURITY, SUCCESS, TOKEN_SEPARATOR, UNEXPECTED_ERROR, VERSION_1 |
| Constructor Summary | |
|---|---|
DownloadListener(Shell shell,
IProgressMonitor monitor,
IConnectorService system,
org.eclipse.dstore.core.model.DataElement status,
File localFile,
String remotePath,
long totalLength)
|
|
| Method Summary | |
|---|---|
void |
cancelDownload()
|
void |
communicationsStateChange(CommunicationsEvent e)
This method is invoked whenever the communications state is invoked immediately before and after the state of the communications changes. |
void |
domainChanged(org.eclipse.dstore.extra.internal.extra.DomainEvent event)
|
Shell |
getShell()
|
org.eclipse.dstore.core.model.DataElement |
getStatus()
|
boolean |
isCancelled()
|
boolean |
isPassiveCommunicationsListener()
This method determines if the communications listener is a passive or active listener. |
boolean |
listeningTo(org.eclipse.dstore.extra.internal.extra.DomainEvent event)
|
void |
setDone(boolean done)
setDone(boolean) |
org.eclipse.dstore.core.model.DataElement |
waitForUpdate()
Wait for the the status DataElement to be refreshed |
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(ICommunicationsDiagnosticFactory factory)
|
org.eclipse.dstore.core.model.DataElement |
waitForUpdate(ICommunicationsDiagnosticFactory factory,
int wait)
|
boolean |
wasCancelled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DownloadListener(Shell shell,
IProgressMonitor monitor,
IConnectorService system,
org.eclipse.dstore.core.model.DataElement status,
File localFile,
String remotePath,
long totalLength)
| Method Detail |
public boolean isCancelled()
public org.eclipse.dstore.core.model.DataElement getStatus()
public boolean listeningTo(org.eclipse.dstore.extra.internal.extra.DomainEvent event)
listeningTo in interface org.eclipse.dstore.extra.internal.extra.IDomainListenerIDomainListener.listeningTo(DomainEvent)public void domainChanged(org.eclipse.dstore.extra.internal.extra.DomainEvent event)
domainChanged in interface org.eclipse.dstore.extra.internal.extra.IDomainListenerIDomainListener.domainChanged(DomainEvent)public void setDone(boolean done)
public Shell getShell()
IDomainListener#getShell()public boolean wasCancelled()
public void communicationsStateChange(CommunicationsEvent e)
ICommunicationsListener
communicationsStateChange in interface ICommunicationsListenerICommunicationsListener.communicationsStateChange(CommunicationsEvent)public boolean isPassiveCommunicationsListener()
ICommunicationsListener
isPassiveCommunicationsListener in interface ICommunicationsListenerICommunicationsListener.isPassiveCommunicationsListener()
public org.eclipse.dstore.core.model.DataElement waitForUpdate()
throws InterruptedException
InterruptedException - if the thread was interrupted.
public org.eclipse.dstore.core.model.DataElement waitForUpdate(ICommunicationsDiagnosticFactory factory)
throws InterruptedException
InterruptedException
public org.eclipse.dstore.core.model.DataElement waitForUpdate(ICommunicationsDiagnosticFactory factory,
int wait)
throws InterruptedException
InterruptedExceptionpublic void cancelDownload()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||