Package voxo.common.packets

Examples of voxo.common.packets.ContactListPacket


import voxo.server.services.NetworkService;

public class SendContactListAction {
  public SendContactListAction(User u) throws UnknownHostException, IOException, SQLException {
    if (u.getOnline() && (u.getIp() != null)) {
      ContactListPacket clp = new ContactListPacket(UserManager.getUserContactsByUser(u), UserManager.getUserContactRequestsByUser(u));
      NetworkService.sendPacket(u.getIp(), new Packet(EnumPacket.SERVER_UpdateContact, clp));
    }
  }
View Full Code Here

TOP

Related Classes of voxo.common.packets.ContactListPacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.