public abstract class _RawFileStoreDisp extends Ice.ObjectImpl implements RawFileStore
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_RawFileStoreDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___exists(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getFileId(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___read(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___save(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setFileId(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___size(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___truncate(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___write(RawFileStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
activate_async(AMD_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously
passivated.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
void |
exists_async(AMD_RawFileStore_exists __cb)
Checks to see if a raw file exists with the file ID that
the service was initialized with.
|
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
void |
getFileId_async(AMD_RawFileStore_getFileId __cb)
Returns the current file id or null if none has been set.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk
to free memory.
|
void |
read_async(AMD_RawFileStore_read __cb,
long position,
int length)
Reads
length bytes of data at the
position from the raw file into an array of
bytes. |
void |
save_async(AMD_RawFileStore_save __cb)
Saves the
OriginalFile associated with
the service if it has been modified. |
void |
setFileId_async(AMD_RawFileStore_setFileId __cb,
long fileId)
This method manages the state of the service.
|
void |
size_async(AMD_RawFileStore_size __cb)
Returns the size of the file on disk (not as stored in the
database since that value will only be updated on
save . |
void |
truncate_async(AMD_RawFileStore_truncate __cb,
long length)
Limits the size of a file to the given length.
|
void |
write_async(AMD_RawFileStore_write __cb,
byte[] buf,
long position,
int length)
Writes
length bytes of data from the specified
buf byte array starting at at
position to the raw file. |
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists_async, getFileId_async, read_async, save_async, setFileId_async, size_async, truncate_async, write_async
activate_async, close_async, getCurrentEventContext_async, passivate_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void exists_async(AMD_RawFileStore_exists __cb) throws ServerError
exists_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getFileId_async(AMD_RawFileStore_getFileId __cb) throws ServerError
getFileId_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void read_async(AMD_RawFileStore_read __cb, long position, int length) throws ServerError
length
bytes of data at the
position
from the raw file into an array of
bytes.read_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void save_async(AMD_RawFileStore_save __cb) throws ServerError
OriginalFile
associated with
the service if it has been modified. The returned valued
should replace all instances of the
OriginalFile
in the client.
If save has not been called, RawFileStore
instances will save the OriginalFile
object associated with it on close
.
See also ticket 1651
and ticket 2161.save_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setFileId_async(AMD_RawFileStore_setFileId __cb, long fileId) throws ServerError
SecurityViolation
if for the
current user context either the file is not readable or a
omero.constants.permissions.BINARYACCESS
restriction is
in place.setFileId_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void size_async(AMD_RawFileStore_size __cb) throws ServerError
save
. If the file has not yet been written to, and
therefore does not exist, a ResourceError
will be thrown.size_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void truncate_async(AMD_RawFileStore_truncate __cb, long length) throws ServerError
truncate_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void write_async(AMD_RawFileStore_write __cb, byte[] buf, long position, int length) throws ServerError
length
bytes of data from the specified
buf
byte array starting at at
position
to the raw file.write_async
in interface _RawFileStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
activate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
close_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
passivate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public static Ice.DispatchStatus ___setFileId(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getFileId(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___read(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___size(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___truncate(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___write(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___exists(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___save(RawFileStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl