cz.mmsparams.api.websocket.messages.generic.GenericBooleanResponseMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MmsParamsAPI Show documentation
Show all versions of MmsParamsAPI Show documentation
Common library for MmsParams system
The newest version!
package cz.mmsparams.api.websocket.messages.generic;
import java.io.Serializable;
import cz.mmsparams.api.interfaces.IResponseMessage;
import cz.mmsparams.api.websocket.WebSocketMessageBase;
/**
* Message representing logical value (true/false).
* Usually used for acknowledging that message was accepter by recipient
*/
public class GenericBooleanResponseMessage extends WebSocketMessageBase implements Serializable, IResponseMessage
{
private boolean value;
public boolean isValue()
{
return value;
}
public void setValue(boolean value)
{
this.value = value;
}
@Override
public String toString()
{
return "GenericBooleanResponseMessage{" +
"value=" + value +
"} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy