mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/osgi/TestMetatypeMessageService.java
private TerraHarvestMessage createTerraHarvestMessage(final Message metaTypeMessage, final MetaTypeMessageType type)
    {
        MetaTypeNamespace namespaceMessage = MetaTypeNamespace.newBuilder().
            setData(metaTypeMessage.toByteString()).
            setType(type).build();
        return TerraHarvestMessageHelper.createTerraHarvestMessage(0, 1, Namespace.MetaType, 100, namespaceMessage);
    }
/**
     * Construct a TerraHarvestMessage wrapping a Meta Type message.
     * @param metaTypeMessage
     *     meta type message
     * @param type
     *     the type of the message
     */
Construct a TerraHarvestMessage wrapping a Meta Type message.
@param metaTypeMessage
meta type message
@param type
the type of the message
Construct a TerraHarvestMessage wrapping a Meta Type message . @param metaTypeMessage meta type message @param type the type of the message
private TerraHarvestMessage createTerraHarvestMessage(final Message metaTypeMessage, final MetaTypeMessageType type)
    {
        MetaTypeNamespace namespaceMessage = MetaTypeNamespace.newBuilder().
            setData(metaTypeMessage.toByteString()).
            setType(type).build();
        return TerraHarvestMessageHelper.createTerraHarvestMessage(0, 1, Namespace.MetaType, 100, namespaceMessage);
    }
private TerraHarvestMessage createTerraHarvestMessage ( final Message metaTypeMessage , final MetaTypeMessageType type ) { MetaTypeNamespace namespaceMessage = MetaTypeNamespace . newBuilder ( ) . setData ( metaTypeMessage . toByteString ( ) ) . setType ( type ) . build ( ) ; return TerraHarvestMessageHelper . createTerraHarvestMessage ( 0 , 1 , Namespace . MetaType , 100 , namespaceMessage ) ; }
Construct a TerraHarvestMessage wrapping a Meta Type message.
Construct a TerraHarvestMessage wrapping a Meta Type message .