Class RequestServerInfo
java.lang.Object
io.github.blackspherefollower.buttplug4j.protocol.ButtplugMessage
io.github.blackspherefollower.buttplug4j.protocol.messages.RequestServerInfo
RequestServerInfo message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet client name.longGet protocol version major.longGet protocol version minor.voidsetClientName(String aClientName) Set client name.Methods inherited from class io.github.blackspherefollower.buttplug4j.protocol.ButtplugMessage
getId, setId
-
Constructor Details
-
RequestServerInfo
Constructor.- Parameters:
aClientName- client nameid- message ID
-
-
Method Details
-
getProtocolVersionMajor
public long getProtocolVersionMajor()Get protocol version major.- Returns:
- major version
-
getProtocolVersionMinor
public long getProtocolVersionMinor()Get protocol version minor.- Returns:
- minor version
-
getClientName
Get client name.- Returns:
- client name
-
setClientName
Set client name.- Parameters:
aClientName- client name
-