public void request ( KeyedMessage message , VehicleMessage . Listener listener ) { // Register the listener as non-persistent, so it is deleted after // receiving the first response mNotifier . register ( ExactKeyMatcher . buildExactMatcher ( message . getKey ( ) ) , listener , false ) ; send ( message ) ; }
Send a message to the VehicleInterface and register the given listener to receive the first response matching the message s key .