Package com.mouseviator.fsuipc.datarequest

# Interface IWriteOnlyRequest<DataType>

Type Parameters:
  `DataType` - The data type of this data request, such as Byte, Short...

All Superinterfaces:
  `IDataRequest<DataType>`

All Known Implementing Classes:
  `FSControlRequest`, `LuaHelper.LuaControlRequest`, `LuaHelper.LuaParamRequest`, `LVarHelper.ByteLVarWriteRequest`, `LVarHelper.DoubleLVarWriteRequest`, `LVarHelper.FloatLVarWriteRequest`, `LVarHelper.IntegerLVarWriteRequest`, `LVarHelper.LVarControlRequest`, `LVarHelper.LVarParamRequest`, `LVarHelper.ShortLVarWriteRequest`, `MacroHelper.MacroExecuteRequest`, `MacroHelper.MacroParamRequest`

    public interface IWriteOnlyRequest<DataType>
    extends IDataRequest<DataType>

This interface extends the `IDataRequest` interface and should be used when implementing data request, that is write only, as it provides default implementation of `IDataRequest.getValue()` function, which causes exception every once called.

Author:
  Mouseviator

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.mouseviator.fsuipc.datarequest.IDataRequest

  `IDataRequest.RequestType`

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `default DataType` | `getValue()` | This is default implementation for write-only data request.

  ### Methods inherited from interface com.mouseviator.fsuipc.datarequest.IDataRequest

  `getDataBuffer, getOffset, getSize, getType, setOffset, setType, setValue`

- ## Method Details

  - ### getValue

    default DataType getValue()
    This is default implementation for write-only data request. Calling this will cause an exception!
    Specified by:
      `getValue` in interface `IDataRequest<DataType>`
    Returns:
      The value stored within this data request.