Class GroupJoinFailedMessage
java.lang.Object
org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
org.drasyl.node.plugin.groups.client.message.GroupsServerMessage
org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
This message is sent by the groups server to the client when the join to a group was not
successful.
This is an immutable object.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract GroupJoinFailedMessage.Error
static GroupJoinFailedMessage
of
(io.netty.buffer.ByteBuf byteBuf) static GroupJoinFailedMessage
of
(Group group, GroupJoinFailedMessage.Error reason) void
writeTo
(io.netty.buffer.ByteBuf out) Writes this message to the bufferout
.Methods inherited from class org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
getGroup
-
Constructor Details
-
GroupJoinFailedMessage
public GroupJoinFailedMessage()
-
-
Method Details
-
of
-
of
-
getReason
-
writeTo
public void writeTo(io.netty.buffer.ByteBuf out) Description copied from class:GroupsPluginMessage
Writes this message to the bufferout
.- Overrides:
writeTo
in classGroupsPluginMessage
- Parameters:
out
- writes this envelope to this buffer
-