Class GroupJoinedEvent
java.lang.Object
org.drasyl.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.
-
Constructor Summary
ConstructorsConstructorDescriptionGroupJoinedEvent
(Group group, Set<CompressedPublicKey> members, Runnable leaveRun) -
Method Summary
-
Constructor Details
-
GroupJoinedEvent
-
-
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
-