mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/messaging/TestMessageFactoryImpl.java
private TerraHarvestMessage createRequestFiller()
    {
        // id to use for the request and response
        int messageId = 100;  
        
        //first build a TerraHarvestPayload message
        TerraHarvestPayload payload = TerraHarvestPayload.newBuilder().
            setNamespace(Namespace.Base).
            setNamespaceMessage(ByteString.EMPTY).
            build();
        // create the original request message that the response will be based on
        // required to be set Don't care what it is though
        return TerraHarvestMessageUtil.getPartialMessage()
                .setTerraHarvestPayload(payload.toByteString())
                .setSourceId(m_RemoteId)
                .setDestId(m_LocalId)
                .setMessageId(messageId).build();
    }
/**
     * Create a Terra Harvest Message to use for the request message for responses.
     */
Create a Terra Harvest Message to use for the request message for responses.
Create a Terra Harvest Message to use for the request message for responses .
private TerraHarvestMessage createRequestFiller()
    {
        int messageId = 100;  
        TerraHarvestPayload payload = TerraHarvestPayload.newBuilder().
            setNamespace(Namespace.Base).
            setNamespaceMessage(ByteString.EMPTY).
            build();
        return TerraHarvestMessageUtil.getPartialMessage()
                .setTerraHarvestPayload(payload.toByteString())
                .setSourceId(m_RemoteId)
                .setDestId(m_LocalId)
                .setMessageId(messageId).build();
    }
private TerraHarvestMessage createRequestFiller ( ) { int messageId = 100 ; TerraHarvestPayload payload = TerraHarvestPayload . newBuilder ( ) . setNamespace ( Namespace . Base ) . setNamespaceMessage ( ByteString . EMPTY ) . build ( ) ; return TerraHarvestMessageUtil . getPartialMessage ( ) . setTerraHarvestPayload ( payload . toByteString ( ) ) . setSourceId ( m_RemoteId ) . setDestId ( m_LocalId ) . setMessageId ( messageId ) . build ( ) ; }
Create a Terra Harvest Message to use for the request message for responses.
Create a Terra Harvest Message to use for the request message for responses .
// id to use for the request and response //first build a TerraHarvestPayload message // create the original request message that the response will be based on // required to be set Don't care what it is though