Class StatRequest

    • Constructor Detail

      • StatRequest

        public StatRequest​(io.netty.buffer.ByteBuf buffer)
    • Method Detail

      • isVfsSet

        public boolean isVfsSet()
      • getFhandle

        public int getFhandle()
      • getTarget

        public StatRequest.Target getTarget()
        Provide the target type of the kXR_stat request. The protocol allows the client to request information about a file by specifying that file's path, or by specifying an opened file handle. If this method returns Target.FHANDLE then getFhandle() describes the file handle the client is targeting. If the returned value is Target.PATH then PathRequest.getPath() describes the file path the client is targeting.
        Returns:
        the kind of object the client is requesting
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object