public boolean tryRequestToe ( ) { scheduleToe ( ) ; if ( isToeWaiting . get ( ) || getCurrentState ( ) == AccessState . TOE ) { //System.out.println("discarding TOE"); discardScheduledToe ( ) ; return false ; } else { //System.out.println("requesting TOE"); discardScheduledToe ( ) ; requestToe ( ) ; return true ; } }
This method requests to change state to Toe