Package voxo.server.actions

Source Code of voxo.server.actions.KickUserAction

package voxo.server.actions;

import java.io.IOException;
import java.net.UnknownHostException;
import java.sql.SQLException;
import java.util.EnumSet;

import voxo.common.entities.Packet;
import voxo.common.entities.User;
import voxo.common.enums.EnumPacket;
import voxo.common.enums.EnumVerbose;
import voxo.server.exceptions.RequestException;
import voxo.server.managers.UserManager;
import voxo.server.services.NetworkService;

public class KickUserAction {
  public KickUserAction(User u) throws UnknownHostException, IOException, SQLException {
    NetworkService.sendPacket(u.getIp(), new Packet(EnumPacket.SERVER_KickUser, null));
  }
}
TOP

Related Classes of voxo.server.actions.KickUserAction

TOP
Copyright © 2018 www.massapi.com. 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.