Package ome.services.blitz.impl
Class AbstractPyramidServant
- java.lang.Object
-
- ome.services.blitz.impl.AbstractAmdServant
-
- ome.services.blitz.impl.AbstractCloseableAmdServant
-
- ome.services.blitz.impl.AbstractPyramidServant
-
- All Implemented Interfaces:
CloseableServant,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
RawPixelsStoreI,RenderingEngineI
public abstract class AbstractPyramidServant extends AbstractCloseableAmdServant
Specialization ofAbstractAmdServantto be used by any services which provide thePyramidServiceinterface.- Since:
- Beta4.3
-
-
Field Summary
Fields Modifier and Type Field Description static IceMapper.ReturnMappingRESOLUTION_DESCRIPTIONSThis is a fairly brittle mapping from theList<List<Integer>>created by the PixelBuffers to theList<ResolutionDescription>which is remotely provided by Blitz.
-
Constructor Summary
Constructors Constructor Description AbstractPyramidServant(ome.api.ServiceInterface service, BlitzExecutor be)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb, Ice.Current __current)voidgetResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb, Ice.Current __current)voidgetResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb, Ice.Current __current)voidgetTileSize_async(AMD_PyramidService_getTileSize __cb, Ice.Current __current)protected voidpostClose(Ice.Current current)Should not throw any exceptions which should be detected by clients since it is called in a finally block after the client thread has been released.protected voidpreClose(Ice.Current current)voidrequiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb, Ice.Current __current)voidsetResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel, Ice.Current __current)-
Methods inherited from class ome.services.blitz.impl.AbstractCloseableAmdServant
close, close_async
-
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
-
-
-
-
Field Detail
-
RESOLUTION_DESCRIPTIONS
public static final IceMapper.ReturnMapping RESOLUTION_DESCRIPTIONS
This is a fairly brittle mapping from theList<List<Integer>>created by the PixelBuffers to theList<ResolutionDescription>which is remotely provided by Blitz. The assumption is that much of these two levels will be refactored together and therefore that shouldn't be a long-term problem.
-
-
Constructor Detail
-
AbstractPyramidServant
public AbstractPyramidServant(ome.api.ServiceInterface service, BlitzExecutor be)
-
-
Method Detail
-
getResolutionLevels_async
public void getResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb, Ice.Current __current)
-
getTileSize_async
public void getTileSize_async(AMD_PyramidService_getTileSize __cb, Ice.Current __current)
-
requiresPixelsPyramid_async
public void requiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb, Ice.Current __current)
-
setResolutionLevel_async
public void setResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel, Ice.Current __current)
-
getResolutionLevel_async
public void getResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb, Ice.Current __current)
-
getResolutionDescriptions_async
public void getResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb, Ice.Current __current)
-
preClose
protected void preClose(Ice.Current current) throws java.lang.Throwable- Specified by:
preClosein classAbstractCloseableAmdServant- Throws:
java.lang.Throwable
-
postClose
protected void postClose(Ice.Current current)
Description copied from class:AbstractCloseableAmdServantShould not throw any exceptions which should be detected by clients since it is called in a finally block after the client thread has been released.- Specified by:
postClosein classAbstractCloseableAmdServant
-
-