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 TypeMethodDescriptionbooleangetGroup()If this runnable is invoked thegroupwill be left.inthashCode()static GroupJoinedEventof(Group group, Set<IdentityPublicKey> members, Runnable leaveRun) toString()
-
Method Details
-
getGroup
- Specified by:
getGroupin interfaceGroupEvent
-
getMembers
-
hashCode
public int hashCode() -
equals
-
toString
-
getLeaveRun
If this runnable is invoked thegroupwill be left.- Returns:
- runnable to left the
group
-
of
- Throws:
NullPointerException- ifgroup,membersorleaveRunisnull
-