Class MemberJoinedMessage
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.MemberJoinedMessage
This message is sent by the groups server to the client when a new member has joined a group.
This is an immutable object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract IdentityPublicKey
static MemberJoinedMessage
of
(io.netty.buffer.ByteBuf byteBuf) static MemberJoinedMessage
of
(IdentityPublicKey member, Group group) 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
-
MemberJoinedMessage
public MemberJoinedMessage()
-
-
Method Details
-
of
-
of
-
getMember
-
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
-