code: final TrmMessage createInboundTrmMessage(JsMsgObject jmo, int messageType) {
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())SibTr.entry(tc, "createInboundTrmMessage " + messageType );
  
      TrmMessage trmMessage = null;
  
      /* Create an instance of the appropriate message subclass                 */
      switch (messageType) {
  
        case TrmMessageType.ROUTE_DATA_INT:
          trmMessage = new TrmRouteDataImpl(jmo);
          break;
  
        default:
          trmMessage = new TrmMessageImpl(jmo);
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())SibTr.exit(tc, "createInboundTrmMessage");
      return trmMessage;
    }
docs: Create an instance of the appropriate sub-class, e.g. TrmRouteData if
  the inbound message is actually a TRM RouteData Message, for the
  given JMO. A TRM Message of unknown type will be returned as a TrmMessage.
  
  @return TrmMessage A TrmMessage of the appropriate subtype