Class AttachmentAccessTicket
java.lang.Object
ecmwf.common.ecaccess.AbstractTicket
ecmwf.ecpds.master.AttachmentAccessTicket
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
The Class AttachmentAccessTicket.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ecmwf.common.ecaccess.AbstractTicket
AbstractTicket.CompleteTicket, AbstractTicket.TicketUser
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttachmentAccessTicket
(File file, int mode, long offset) Instantiates a new attachment access ticket.AttachmentAccessTicket
(File file, int mode, long offset, int umask) Instantiates a new attachment access ticket. -
Method Summary
Methods inherited from class ecmwf.common.ecaccess.AbstractTicket
add, close, close, completed, expired, getCloseTime, getCompletionTime, getError, getId, getTime, getTimeOut, hasError, isClosed, isCompleted, notifyUsers, setError, setError, setStamp, setTimeOut, toClose, toClose
-
Field Details
-
INPUT
public static final int INPUTThe Constant INPUT.- See Also:
-
OUTPUT
public static final int OUTPUTThe Constant OUTPUT.- See Also:
-
-
Constructor Details
-
AttachmentAccessTicket
Instantiates a new attachment access ticket.- Parameters:
file
- the filemode
- the modeoffset
- the offset
-
AttachmentAccessTicket
Instantiates a new attachment access ticket.- Parameters:
file
- the filemode
- the modeoffset
- the offsetumask
- the umask
-
-
Method Details
-
getFile
-
getMode
public int getMode()Gets the mode.- Returns:
- the mode
-
getOffset
public long getOffset()Gets the offset.- Returns:
- the offset
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatus
in classAbstractTicket
- Returns:
- the status
-