public class TestHook extends java.lang.Object implements IGroupHook
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.CountDownLatch |
latch |
Constructor and Description |
---|
TestHook() |
Modifier and Type | Method and Description |
---|---|
void |
onAddMembers(GroupMessage group) |
void |
onGroupCreated(GroupMessage created) |
void |
onGroupDeleted(GroupMessage previous) |
void |
onGroupUpdated(GroupMessage previous,
GroupMessage current) |
void |
onRemoveMembers(GroupMessage group) |
public void onGroupCreated(GroupMessage created)
onGroupCreated
in interface IGroupHook
public void onGroupUpdated(GroupMessage previous, GroupMessage current) throws ServerFault
onGroupUpdated
in interface IGroupHook
ServerFault
public void onGroupDeleted(GroupMessage previous) throws ServerFault
onGroupDeleted
in interface IGroupHook
ServerFault
public void onAddMembers(GroupMessage group)
onAddMembers
in interface IGroupHook
public void onRemoveMembers(GroupMessage group)
onRemoveMembers
in interface IGroupHook
Copyright © 2021. All Rights Reserved.