protected void processOtherEvent(Sim_event ev)
    {

        switch (ev.get_tag())
        {
            // Resource failure event: send a failure event to a resource.
            case GridSimTags.GRIDRESOURCE_FAILURE:
                processGridResource_Failure(ev);
                break;

                // Resource recovery event.
            case GridSimTags.GRIDRESOURCE_RECOVERY:
                processGridResource_Recovery(ev);
                break;


                // Time for polling resources
            case GridSimTags.GRIDRESOURCE_POLLING:
                processGridResource_Polling(ev);
                break;

                // A user tells the GIS that a resource is out of order
            case AbstractGIS.NOTIFY_GIS_RESOURCE_FAILURE:
                processResourceFailed(ev);
                break;

        } // switch ( ev.get_tag() )

    }