Class GroupJoinedEvent
java.lang.Object
org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- All Implemented Interfaces:
Event
,GroupEvent
An event that signals that this node has successfully joined a group.
This is an immutable object.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
If this runnable is invoked thegroup
will be left.int
hashCode()
static GroupJoinedEvent
of
(Group group, Set<IdentityPublicKey> members, Runnable leaveRun) toString()
-
Method Details
-
getGroup
- Specified by:
getGroup
in interfaceGroupEvent
-
getMembers
-
hashCode
public int hashCode() -
equals
-
toString
-
getLeaveRun
If this runnable is invoked thegroup
will be left.- Returns:
- runnable to left the
group
-
of
- Throws:
NullPointerException
- ifgroup
,members
orleaveRun
isnull
-