public void fireEvent(Object event) {
        if (event == null) {
            throw new IllegalArgumentException("Event must not be null.");
        }
        mTaskQueue.offer(Task.obtainTask(Task.CODE_FIRE_EVENT, event, -1));
        if (!mQueueProcessed) processTaskQueue();
    }
public void fireEvent(Object event) {
        if (event == null) {
            throw new IllegalArgumentException("Event must not be null.");
        }
        mTaskQueue.offer(Task.obtainTask(Task.CODE_FIRE_EVENT, event, -1));
        if (!mQueueProcessed) processTaskQueue();
    }
public void fireEvent ( Object event ) { if ( event == null ) { throw new IllegalArgumentException ( "Event must not be null." ) ; } mTaskQueue . offer ( Task . obtainTask ( Task . CODE_FIRE_EVENT , event , - 1 ) ) ; if ( ! mQueueProcessed ) processTaskQueue ( ) ; }
Forwards an event into state machine. State machine will deliver the event to a
handler methods responsible for its processing. If there is no handler method found,
then event gets silently ignored and this call has no effect.

@param event event to be delivered to a handler method
Forwards an event into state machine . State machine will deliver the event to a handler methods responsible for its processing . If there is no handler method found then event gets silently ignored and this call has no effect .