Package omero.grid.monitors
Class _FileServerDisp
- java.lang.Object
- 
- Ice.ObjectImpl
- 
- omero.grid.monitors._FileServerDisp
 
 
- 
- All Implemented Interfaces:
- Ice.Object,- java.io.Serializable,- java.lang.Cloneable,- _FileServerOperations,- _FileServerOperationsNC,- FileServer
 - Direct Known Subclasses:
- _FileServerTie
 
 public abstract class _FileServerDisp extends Ice.ObjectImpl implements FileServer - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID- 
Fields inherited from interface omero.grid.monitors.FileServerice_staticId
 
- 
 - 
Constructor SummaryConstructors Constructor Description _FileServerDisp()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___fileExists(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getATime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getBaseName(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getBulkDirectory(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getCTime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getDirectory(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getMTime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getOwner(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getSHA1(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getSize(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getStats(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___isDir(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___isFile(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___readBlock(FileServer __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)booleanfileExists(java.lang.String fileId)Query the existence of a file An exception will be raised if the method fails to determine the existence.floatgetATime(java.lang.String fileId)Get atime of a file An exception will be raised if the file no longer exists or is inaccessible.java.lang.StringgetBaseName(java.lang.String fileId)Get base name of a file, this is the name stripped of any path, e.g.FileStats[]getBulkDirectory(java.lang.String absPath, java.lang.String filter)Get an absolute directory from an OMERO.fs server.floatgetCTime(java.lang.String fileId)Get ctime of a file An exception will be raised if the file no longer exists or is inaccessible.java.lang.String[]getDirectory(java.lang.String absPath, java.lang.String filter)Get an absolute directory from an OMERO.fs server.floatgetMTime(java.lang.String fileId)Get mtime of a file An exception will be raised if the file no longer exists or is inaccessible.java.lang.StringgetOwner(java.lang.String fileId)Get owner of a file An exception will be raised if the file no longer exists or is inaccessible.java.lang.StringgetSHA1(java.lang.String fileId)Get SHA1 of a file An exception will be raised if the file no longer exists or is inaccessible.longgetSize(java.lang.String fileId)Get size of a file in bytes An exception will be raised if the file no longer exists or is inaccessible.FileStatsgetStats(java.lang.String fileId)Get all FileStats of a file An exception will be raised if the file no longer exists or is inaccessible.protected voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()booleanisDir(java.lang.String fileId)Query whether file is a directory An exception will be raised if the file no longer exists or is inaccessible.booleanisFile(java.lang.String fileId)Query whether file is a file An exception will be raised if the file no longer exists or is inaccessible.byte[]readBlock(java.lang.String fileId, long offset, int size)readBlock should open, read size bytes from offset and then close the file.- 
Methods inherited from class Ice.ObjectImpl___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
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface omero.grid.monitors._FileServerOperationsfileExists, getATime, getBaseName, getBulkDirectory, getCTime, getDirectory, getMTime, getOwner, getSHA1, getSize, getStats, isDir, isFile, readBlock
 
- 
 
- 
- 
- 
Field Detail- 
__idspublic static final java.lang.String[] __ids 
 - 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
ice_copyStateFromprotected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
- java.lang.CloneNotSupportedException
 
 - 
ice_isApublic boolean ice_isA(java.lang.String s) - Specified by:
- ice_isAin interface- Ice.Object
- Overrides:
- ice_isAin class- Ice.ObjectImpl
 
 - 
ice_isApublic boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
- ice_isAin interface- Ice.Object
- Overrides:
- ice_isAin class- Ice.ObjectImpl
 
 - 
ice_idspublic java.lang.String[] ice_ids() - Specified by:
- ice_idsin interface- Ice.Object
- Overrides:
- ice_idsin class- Ice.ObjectImpl
 
 - 
ice_idspublic java.lang.String[] ice_ids(Ice.Current __current) - Specified by:
- ice_idsin interface- Ice.Object
- Overrides:
- ice_idsin class- Ice.ObjectImpl
 
 - 
ice_idpublic java.lang.String ice_id() - Specified by:
- ice_idin interface- Ice.Object
- Overrides:
- ice_idin class- Ice.ObjectImpl
 
 - 
ice_idpublic java.lang.String ice_id(Ice.Current __current) - Specified by:
- ice_idin interface- Ice.Object
- Overrides:
- ice_idin class- Ice.ObjectImpl
 
 - 
ice_staticIdpublic static java.lang.String ice_staticId() 
 - 
fileExistspublic final boolean fileExists(java.lang.String fileId) throws OmeroFSErrorQuery the existence of a file An exception will be raised if the method fails to determine the existence.- Specified by:
- fileExistsin interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- existence of file.
- Throws:
- OmeroFSError
 
 - 
getATimepublic final float getATime(java.lang.String fileId) throws OmeroFSErrorGet atime of a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getATimein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- atime of file (float).
- Throws:
- OmeroFSError
 
 - 
getBaseNamepublic final java.lang.String getBaseName(java.lang.String fileId) throws OmeroFSErrorGet base name of a file, this is the name stripped of any path, e.g. file.ext An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getBaseNamein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- base name.
- Throws:
- OmeroFSError
 
 - 
getBulkDirectorypublic final FileStats[] getBulkDirectory(java.lang.String absPath, java.lang.String filter) throws OmeroFSError Get an absolute directory from an OMERO.fs server. The returned list will contain the file stats for each directory entry. An exception will be raised if the path does not exist or is inaccessible to the OMERO.fs server. An exception will be raised if directory list cannot be returned for any other reason.- Specified by:
- getBulkDirectoryin interface- _FileServerOperationsNC
- Parameters:
- absPath- an absolute path on the monitor's watch path (string).
- filter- a filter to apply to the listing, cf. ls (string).
- Returns:
- a directory listing (FileStatsList).
- Throws:
- OmeroFSError
 
 - 
getCTimepublic final float getCTime(java.lang.String fileId) throws OmeroFSErrorGet ctime of a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getCTimein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- ctime of file (float).
- Throws:
- OmeroFSError
 
 - 
getDirectorypublic final java.lang.String[] getDirectory(java.lang.String absPath, java.lang.String filter) throws OmeroFSErrorGet an absolute directory from an OMERO.fs server. The returned list will contain just the file names for each directory entry. An exception will be raised if the path does not exist or is inaccessible to the OMERO.fs server. An exception will be raised if directory list cannot be returned for any other reason.- Specified by:
- getDirectoryin interface- _FileServerOperationsNC
- Parameters:
- absPath- an absolute path on the monitor's watch path (string).
- filter- a filter to apply to the listing, cf. ls (string).
- Returns:
- a directory listing (Ice::StringSeq).
- Throws:
- OmeroFSError
 
 - 
getMTimepublic final float getMTime(java.lang.String fileId) throws OmeroFSErrorGet mtime of a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getMTimein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- mtime of file (float).
- Throws:
- OmeroFSError
 
 - 
getOwnerpublic final java.lang.String getOwner(java.lang.String fileId) throws OmeroFSErrorGet owner of a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getOwnerin interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- owner of file (string).
- Throws:
- OmeroFSError
 
 - 
getSHA1public final java.lang.String getSHA1(java.lang.String fileId) throws OmeroFSErrorGet SHA1 of a file An exception will be raised if the file no longer exists or is inaccessible. An exception will be raised if the SHA1 cannot be generated for any reason.- Specified by:
- getSHA1in interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- SHA1 hex hash digest of file (string).
- Throws:
- OmeroFSError
 
 - 
getSizepublic final long getSize(java.lang.String fileId) throws OmeroFSErrorGet size of a file in bytes An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getSizein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- byte size of file (long).
- Throws:
- OmeroFSError
 
 - 
getStatspublic final FileStats getStats(java.lang.String fileId) throws OmeroFSError Get all FileStats of a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- getStatsin interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- file stats (FileStats).
- Throws:
- OmeroFSError
 
 - 
isDirpublic final boolean isDir(java.lang.String fileId) throws OmeroFSErrorQuery whether file is a directory An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- isDirin interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- true is directory (bool).
- Throws:
- OmeroFSError
 
 - 
isFilepublic final boolean isFile(java.lang.String fileId) throws OmeroFSErrorQuery whether file is a file An exception will be raised if the file no longer exists or is inaccessible.- Specified by:
- isFilein interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- Returns:
- true if file (bool).
- Throws:
- OmeroFSError
 
 - 
readBlockpublic final byte[] readBlock(java.lang.String fileId, long offset, int size) throws OmeroFSErrorreadBlock should open, read size bytes from offset and then close the file. An exception will be raised if the file no longer exists or is inaccessible. An exception will be raised if the file read fails for any other reason.- Specified by:
- readBlockin interface- _FileServerOperationsNC
- Parameters:
- fileId- see above.
- offset- byte offset into file from where read should begin (long).
- size- number of bytes that should be read (int).
- Returns:
- byte sequence of upto size bytes.
- Throws:
- OmeroFSError
 
 - 
___getDirectorypublic static Ice.DispatchStatus ___getDirectory(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getBulkDirectorypublic static Ice.DispatchStatus ___getBulkDirectory(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___fileExistspublic static Ice.DispatchStatus ___fileExists(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getBaseNamepublic static Ice.DispatchStatus ___getBaseName(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getStatspublic static Ice.DispatchStatus ___getStats(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getSizepublic static Ice.DispatchStatus ___getSize(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getOwnerpublic static Ice.DispatchStatus ___getOwner(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getCTimepublic static Ice.DispatchStatus ___getCTime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getMTimepublic static Ice.DispatchStatus ___getMTime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getATimepublic static Ice.DispatchStatus ___getATime(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___isDirpublic static Ice.DispatchStatus ___isDir(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___isFilepublic static Ice.DispatchStatus ___isFile(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getSHA1public static Ice.DispatchStatus ___getSHA1(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___readBlockpublic static Ice.DispatchStatus ___readBlock(FileServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
__dispatchpublic Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
- __dispatchin interface- Ice.Object
- Overrides:
- __dispatchin class- Ice.ObjectImpl
 
 - 
__writeImplprotected void __writeImpl(IceInternal.BasicStream __os) - Overrides:
- __writeImplin class- Ice.ObjectImpl
 
 - 
__readImplprotected void __readImpl(IceInternal.BasicStream __is) - Overrides:
- __readImplin class- Ice.ObjectImpl
 
 
- 
 
-