Class GroupJoinMessage

java.lang.Object
org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
All Implemented Interfaces:
GroupsClientMessage, GroupsPluginMessage

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

This is an immutable object.

  • Field Details

    • group

      protected final Group group
  • Constructor Details

    • GroupJoinMessage

      public GroupJoinMessage(Group group, String credentials, ProofOfWork proofOfWork, boolean renew)
  • Method Details

    • isRenew

      public boolean isRenew()
    • getCredentials

      public String getCredentials()
    • getProofOfWork

      public ProofOfWork getProofOfWork()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • getGroup

      public Group getGroup()