Class AttachmentAccessTicket

java.lang.Object
ecmwf.common.ecaccess.AbstractTicket
ecmwf.ecpds.master.AttachmentAccessTicket
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable

public final class AttachmentAccessTicket extends AbstractTicket
The Class AttachmentAccessTicket.
See Also:
  • Field Details

  • Constructor Details

    • AttachmentAccessTicket

      public AttachmentAccessTicket(File file, int mode, long offset)
      Instantiates a new attachment access ticket.
      Parameters:
      file - the file
      mode - the mode
      offset - the offset
    • AttachmentAccessTicket

      public AttachmentAccessTicket(File file, int mode, long offset, int umask)
      Instantiates a new attachment access ticket.
      Parameters:
      file - the file
      mode - the mode
      offset - the offset
      umask - the umask
  • Method Details

    • getFile

      public File getFile()
      Gets the file.
      Returns:
      the file
    • getMode

      public int getMode()
      Gets the mode.
      Returns:
      the mode
    • getOffset

      public long getOffset()
      Gets the offset.
      Returns:
      the offset
    • getStatus

      public String getStatus()
      Gets the status. Gets the status.
      Specified by:
      getStatus in class AbstractTicket
      Returns:
      the status