Class GroupJoinMessage
java.lang.Object
org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
org.drasyl.node.plugin.groups.client.message.GroupsClientMessage
org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
This message is send by the groups client to the server to join a group.
 
This is an immutable object.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract Stringabstract ProofOfWorkabstract booleanisRenew()static GroupJoinMessageof(io.netty.buffer.ByteBuf byteBuf) static GroupJoinMessageof(Group group, String credentials, ProofOfWork proofOfWork, boolean renew) voidwriteTo(io.netty.buffer.ByteBuf out) Writes this message to the bufferout.Methods inherited from class org.drasyl.node.plugin.groups.client.message.GroupsPluginMessagegetGroup
- 
Field Details- 
MIN_LENGTHpublic static final int MIN_LENGTH- See Also:
 
 
- 
- 
Constructor Details- 
GroupJoinMessagepublic GroupJoinMessage()
 
- 
- 
Method Details- 
ofpublic static GroupJoinMessage of(Group group, String credentials, ProofOfWork proofOfWork, boolean renew) 
- 
of
- 
isRenewpublic abstract boolean isRenew()
- 
getCredentials
- 
getProofOfWork
- 
writeTopublic void writeTo(io.netty.buffer.ByteBuf out) Description copied from class:GroupsPluginMessageWrites this message to the bufferout.- Overrides:
- writeToin class- GroupsPluginMessage
- Parameters:
- out- writes this envelope to this buffer
 
 
-