public class DefaultOMEROSession extends Object implements OMEROSession
Constructor and Description |
---|
DefaultOMEROSession(OMEROLocation credentials,
client c,
OMEROService omeroService) |
DefaultOMEROSession(OMEROLocation credentials,
OMEROService omeroService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
omero.api.RawPixelsStorePrx |
createPixels(OMEROFormat.Metadata meta)
Obtains a raw pixels store for writing to a new image which will be
associated with the given metadata.
|
client |
getClient()
Gets the
omero.client associated with this OMEROSession |
ExperimenterData |
getExperimenter()
Gets the
Experimenter associated with this OMEROSession |
Gateway |
getGateway()
Gets the
Gateway associated with this OMEROSession |
SecurityContext |
getSecurityContext()
Gets the
SecurityContext associated with this OMEROSession |
omero.api.ServiceFactoryPrx |
getSession()
Gets the
ServiceFactoryPrx associated with this OMEROSession |
String |
getSessionID()
Gets the session ID associated with this OMEROSession
|
Image |
loadImage(OMEROFormat.Metadata meta)
Gets an OMERO
Image descriptor, loading remotely as needed. |
String |
loadImageName(OMEROFormat.Metadata meta)
Gets the metadata's associated image name, loading remotely as needed.
|
Pixels |
loadPixels(OMEROFormat.Metadata meta)
Gets an OMERO
Pixels descriptor, loading remotely as needed. |
long |
loadPixelsID(OMEROFormat.Metadata meta)
Gets the metadata's associated pixels ID, loading remotely as needed.
|
omero.api.RawPixelsStorePrx |
openPixels(OMEROFormat.Metadata meta)
Obtains a raw pixels store for reading from the pixels associated with the
given metadata.
|
public DefaultOMEROSession(OMEROLocation credentials, OMEROService omeroService) throws ServerError, Glacier2.PermissionDeniedException, Glacier2.CannotCreateSessionException
ServerError
Glacier2.PermissionDeniedException
Glacier2.CannotCreateSessionException
public DefaultOMEROSession(OMEROLocation credentials, client c, OMEROService omeroService) throws ServerError, Glacier2.PermissionDeniedException, Glacier2.CannotCreateSessionException
ServerError
Glacier2.PermissionDeniedException
Glacier2.CannotCreateSessionException
public client getClient()
OMEROSession
omero.client
associated with this OMEROSessiongetClient
in interface OMEROSession
public omero.api.ServiceFactoryPrx getSession()
OMEROSession
ServiceFactoryPrx
associated with this OMEROSessiongetSession
in interface OMEROSession
public SecurityContext getSecurityContext()
OMEROSession
SecurityContext
associated with this OMEROSessiongetSecurityContext
in interface OMEROSession
public ExperimenterData getExperimenter()
OMEROSession
Experimenter
associated with this OMEROSessiongetExperimenter
in interface OMEROSession
public Gateway getGateway()
OMEROSession
Gateway
associated with this OMEROSessiongetGateway
in interface OMEROSession
public String getSessionID()
OMEROSession
getSessionID
in interface OMEROSession
public Pixels loadPixels(OMEROFormat.Metadata meta) throws ServerError
OMEROSession
Pixels
descriptor, loading remotely as needed.loadPixels
in interface OMEROSession
ServerError
public Image loadImage(OMEROFormat.Metadata meta) throws ServerError
OMEROSession
Image
descriptor, loading remotely as needed.loadImage
in interface OMEROSession
ServerError
public long loadPixelsID(OMEROFormat.Metadata meta) throws ServerError
OMEROSession
loadPixelsID
in interface OMEROSession
ServerError
public String loadImageName(OMEROFormat.Metadata meta) throws ServerError
OMEROSession
loadImageName
in interface OMEROSession
ServerError
public omero.api.RawPixelsStorePrx openPixels(OMEROFormat.Metadata meta) throws ServerError
OMEROSession
openPixels
in interface OMEROSession
ServerError
public omero.api.RawPixelsStorePrx createPixels(OMEROFormat.Metadata meta) throws ServerError, FormatException
OMEROSession
createPixels
in interface OMEROSession
ServerError
FormatException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface OMEROSession
Copyright © 2014–2022 ImageJ. All rights reserved.