public class WritePojo extends WriteObject
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
value |
Constructor and Description |
---|
WritePojo(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNull()
Is there a defined value?.
|
void |
setNextWriteValue(WriteChannel<?> writeChannel)
Set the next write value of the Channel.
|
java.lang.String |
valueToString()
Gets the value as a String for logging purposes.
|
notifyError, notifySuccess, notifyTimeout, onError, onFirstError, onFirstSuccess, onSuccess, onTimeout
public void setNextWriteValue(WriteChannel<?> writeChannel) throws OpenemsError.OpenemsNamedException
WriteObject
setNextWriteValue
in class WriteObject
writeChannel
- the WriteChannel
OpenemsError.OpenemsNamedException
- on errorpublic java.lang.String valueToString()
WriteObject
valueToString
in class WriteObject
public boolean isNull()
WriteObject
isNull
in class WriteObject