package jp.sourceforge.shovel.logic;

import jp.sourceforge.shovel.GrowlPriorityType;
import jp.sourceforge.shovel.GrowlType;
import jp.sourceforge.shovel.entity.IGrowlPacket;
import jp.sourceforge.shovel.exception.ApplicationException;

public interface IGrowlLogic {
    IGrowlPacket createPacket(String application, GrowlType growlType, String password);
    IGrowlPacket createPacket(String application, GrowlType growlType, String notification, String title,
            String description, GrowlPriorityType priorityType, boolean sticky, String password);
    void sendPacket(String host, IGrowlPacket packet) throws ApplicationException;
}
