|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.connectorservice.dstore.util.ConnectionStatusListener
public class ConnectionStatusListener
| Field Summary | |
|---|---|
protected IConnectorService |
_connection
|
protected boolean |
_connectionDown
|
protected DataElement |
_dataStoreStatus
|
| Constructor Summary | |
|---|---|
ConnectionStatusListener(DataElement status,
IConnectorService connection)
|
|
| Method Summary | |
|---|---|
void |
domainChanged(DomainEvent event)
|
protected IRunnableContext |
getRunnableContext(Shell rshell)
Get the progress monitor dialog for this operation. |
Shell |
getShell()
|
protected void |
handleConnectionDown()
The handleConnectionDown method is invoked if the network connection between the client and server goes down while connected. |
protected Shell |
internalGetShell()
|
boolean |
isConnectionDown()
Callback method for the IConnectorService to determine if the connection is down. |
boolean |
listeningTo(DomainEvent event)
|
void |
run(IProgressMonitor monitor)
|
protected void |
showDisconnectCancelledMessage(Shell shell,
java.lang.String hostName,
int port)
Show an error message when the user cancels the disconnection. |
protected void |
showDisconnectErrorMessage(Shell shell,
java.lang.String hostName,
int port,
java.lang.Exception exc)
Show an error message when the disconnection fails. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DataElement _dataStoreStatus
protected IConnectorService _connection
protected boolean _connectionDown
| Constructor Detail |
|---|
public ConnectionStatusListener(DataElement status,
IConnectorService connection)
status - The status element for the DataStore handling this connection.| Method Detail |
|---|
protected Shell internalGetShell()
protected void handleConnectionDown()
public boolean listeningTo(DomainEvent event)
listeningTo in interface IDomainListenerIDomainListener.listeningTo(DomainEvent)public void domainChanged(DomainEvent event)
domainChanged in interface IDomainListenerIDomainListener.domainChanged(DomainEvent)public Shell getShell()
public boolean isConnectionDown()
public void run(IProgressMonitor monitor)
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException
run in interface IRunnableWithProgressjava.lang.reflect.InvocationTargetException
java.lang.InterruptedExceptionprotected IRunnableContext getRunnableContext(Shell rshell)
protected void showDisconnectErrorMessage(Shell shell,
java.lang.String hostName,
int port,
java.lang.Exception exc)
protected void showDisconnectCancelledMessage(Shell shell,
java.lang.String hostName,
int port)
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||