Package voxo.client.actions

Source Code of voxo.client.actions.AddContactAction

package voxo.client.actions;

import java.io.IOException;
import java.net.UnknownHostException;

import voxo.client.services.NetworkService;
import voxo.common.entities.Packet;
import voxo.common.enums.EnumPacket;
import voxo.common.packets.ClientRequestPacket;

public class AddContactAction {

  public AddContactAction(ClientRequestPacket p) {
    try {
      NetworkService.sendPacket(new Packet(EnumPacket.CLIENT_AddContact, p));
    } catch (UnknownHostException e) {
    } catch (IOException e) {
    }
  }

}
TOP

Related Classes of voxo.client.actions.AddContactAction

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.