Class GroupJoinMessage


public abstract class GroupJoinMessage extends GroupsClientMessage
This message is send by the groups client to the server to join a group.

This is an immutable object.

  • Field Details

  • Constructor Details

    • GroupJoinMessage

      public GroupJoinMessage()
  • Method Details

    • of

      public static GroupJoinMessage of(Group group, String credentials, ProofOfWork proofOfWork, boolean renew)
    • of

      public static GroupJoinMessage of(io.netty.buffer.ByteBuf byteBuf)
    • isRenew

      public abstract boolean isRenew()
    • getCredentials

      public abstract String getCredentials()
    • getProofOfWork

      public abstract ProofOfWork getProofOfWork()
    • writeTo

      public void writeTo(io.netty.buffer.ByteBuf out)
      Description copied from class: GroupsPluginMessage
      Writes this message to the buffer out.
      Overrides:
      writeTo in class GroupsPluginMessage
      Parameters:
      out - writes this envelope to this buffer