public boolean init(Sim_port output, AllocPolicy policy, int resourceID)
    {
        if (output == null || policy == null || resourceID < 0) {
            return false;
        }
        outputPort_ = output;
        policy_ = policy;
        resourceID_ = resourceID;
        resIdObj_ = new Integer(resourceID);
        return true;
    }