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
  • 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.