public class QueuedOmeroKeepAlive
extends java.lang.Object
Constructor and Description |
---|
QueuedOmeroKeepAlive(java.net.URI omero,
java.lang.String sessionKey,
FutureTimepoint untilWhen)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object x) |
java.net.URI |
getOmero() |
java.lang.String |
getSessionKey() |
FutureTimepoint |
getUntilWhen() |
int |
hashCode() |
public QueuedOmeroKeepAlive(java.net.URI omero, java.lang.String sessionKey, FutureTimepoint untilWhen)
omero
- the host and port of the OMERO server holding the session
to keep alive.sessionKey
- the ID of the OMERO session to keep alive.untilWhen
- until what time to keep the session alive.java.lang.NullPointerException
- if the OMERO or the future time point
argument is null
.java.lang.IllegalArgumentException
- if the session key argument is null
or empty.public java.net.URI getOmero()
public java.lang.String getSessionKey()
public FutureTimepoint getUntilWhen()
public boolean equals(java.lang.Object x)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object