code: @Override
      public boolean onEvent(EventMessage<?> event) {
          IncomingDataTransferResultEvent resultEvent;
  
          if (event.getPayload() instanceof IncomingDataTransferResultEvent) {
              resultEvent = (IncomingDataTransferResultEvent) event.getPayload();
  
              this.setResult(new IncomingDataTransferResult(resultEvent.getData(), resultEvent.getStatus()));
  
              this.countDownLatch();
  
              if (continuation != null) {
                  // no need to wait for the continuation timeout, resume it now
                  continuation.resume();
              }
  
              return true;
          } else {
              // not the right type of event... not 'handled'
              return false;
          }
      }
docs: Handles the {@code IncomingDataTransferResultEvent} and wraps the result in a {@code IncomingDataTransferResult} which is
  written to the 'result' member. Returns true if the event is of type {@code IncomingDataTransferResultEvent}, otherwise
  false. Does a countDown on the countDownLatch to indicate the 'wait' is over.
  
  @param event event message
  @return true if the event is of type {@code IncomingDataTransferResultEvent}, otherwise false.