public class ClientKeepAlive extends java.lang.Object implements java.lang.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 void run()
run
in interface java.lang.Runnable
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.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.