public class ClientKeepAlive extends Object implements Runnable, IObservable
Runnable
which keeps a Connector
's server-side resources
from timing out. NOTE: Upon catching an exception, the
Connector
is logged out.Constructor and Description |
---|
ClientKeepAlive() |
Modifier and Type | Method and Description |
---|---|
boolean |
addObserver(IObserver object)
Add observer for notification
|
boolean |
deleteObserver(IObserver object)
Delete observer
|
OMEROMetadataStoreClient |
getClient() |
void |
notifyObservers(ImportEvent event)
Notify observers of event
|
void |
run() |
void |
setClient(OMEROMetadataStoreClient client) |
public OMEROMetadataStoreClient getClient()
public void setClient(OMEROMetadataStoreClient client)
client
- - OMEROMetadataStoreClient to setpublic boolean addObserver(IObserver object)
IObservable
addObserver
in interface IObservable
object
- - observer objectpublic boolean deleteObserver(IObserver object)
IObservable
deleteObserver
in interface IObservable
object
- - observer to deletepublic void notifyObservers(ImportEvent event)
IObservable
notifyObservers
in interface IObservable
event
- - event that happened
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.