original_string: public function onMessage(Mf4phpMessage $message) : void
      {
          Preconditions::checkArgument($message instanceof ObjectMessage, "Message must be an instance of ObjectMessage");
          $object = $message->getObject();
          if ($object instanceof MessageWrapper) {
              $object = $object->getMessage();
          }
          parent::dispatch($object, self::emptyCallback());
      }
code: public function onMessage(Mf4phpMessage $message) : void
      {
          Preconditions::checkArgument($message instanceof ObjectMessage, "Message must be an instance of ObjectMessage");
          $object = $message->getObject();
          if ($object instanceof MessageWrapper) {
              $object = $object->getMessage();
          }
          parent::dispatch($object, self::emptyCallback());
      }
code_tokens: public function onMessage ( Mf4phpMessage $ message ) : void { Preconditions :: checkArgument ( $ message instanceof ObjectMessage , "Message must be an instance of ObjectMessage" ) ; $ object = $ message -> getObject ( ) ; if ( $ object instanceof MessageWrapper ) { $ object = $ object -> getMessage ( ) ; } parent :: dispatch ( $ object , self :: emptyCallback ( ) ) ; }
docstring: Forward incoming message to handlers.
  
  @param Mf4phpMessage $message
  @throws InvalidArgumentException
docstring_tokens: Forward incoming message to handlers .