protected void DirGroupsReplyHandler(Object sender, PacketReceivedEventArgs e) throws UnsupportedEncodingException
{
if (OnDirGroups != null)
{
Packet packet = e.getPacket();
DirGroupsReplyPacket groupsReply = (DirGroupsReplyPacket)packet;
List<GroupSearchData> matches = new ArrayList<GroupSearchData>(groupsReply.QueryReplies.length);
for (DirGroupsReplyPacket.QueryRepliesBlock reply : groupsReply.QueryReplies)
{
GroupSearchData groupsData = new GroupSearchData();
groupsData.GroupID = reply.GroupID;