mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/messaging/TestMessageResponseWrapperImpl.java
private TerraHarvestMessage createTerraHarvestRequest()
    {
        BaseNamespace namespaceMessage = BaseNamespace.newBuilder().setType(
                BaseMessageType.RequestControllerInfo).build();
        TerraHarvestPayload payload = TerraHarvestPayload.newBuilder().
            setNamespace(Namespace.Base).
            setNamespaceMessage(namespaceMessage.toByteString()).build();
        return TerraHarvestMessage.newBuilder().
            setDestId(m_Local).
            setEncryptType(EncryptType.NONE).
            setSourceId(m_Remote).
            setTerraHarvestPayload(payload.toByteString()).
            setVersion(Version.newBuilder().setMajor(1).setMinor(2).build()).
            setMessageId(2).build();
    }
/**
     * Create a {@link TerraHarvestMessage} to be the request message.
     */
Create a  TerraHarvestMessage to be the request message.
Create a TerraHarvestMessage to be the request message .
private TerraHarvestMessage createTerraHarvestRequest()
    {
        BaseNamespace namespaceMessage = BaseNamespace.newBuilder().setType(
                BaseMessageType.RequestControllerInfo).build();
        TerraHarvestPayload payload = TerraHarvestPayload.newBuilder().
            setNamespace(Namespace.Base).
            setNamespaceMessage(namespaceMessage.toByteString()).build();
        return TerraHarvestMessage.newBuilder().
            setDestId(m_Local).
            setEncryptType(EncryptType.NONE).
            setSourceId(m_Remote).
            setTerraHarvestPayload(payload.toByteString()).
            setVersion(Version.newBuilder().setMajor(1).setMinor(2).build()).
            setMessageId(2).build();
    }
private TerraHarvestMessage createTerraHarvestRequest ( ) { BaseNamespace namespaceMessage = BaseNamespace . newBuilder ( ) . setType ( BaseMessageType . RequestControllerInfo ) . build ( ) ; TerraHarvestPayload payload = TerraHarvestPayload . newBuilder ( ) . setNamespace ( Namespace . Base ) . setNamespaceMessage ( namespaceMessage . toByteString ( ) ) . build ( ) ; return TerraHarvestMessage . newBuilder ( ) . setDestId ( m_Local ) . setEncryptType ( EncryptType . NONE ) . setSourceId ( m_Remote ) . setTerraHarvestPayload ( payload . toByteString ( ) ) . setVersion ( Version . newBuilder ( ) . setMajor ( 1 ) . setMinor ( 2 ) . build ( ) ) . setMessageId ( 2 ) . build ( ) ; }
Create a {@link TerraHarvestMessage} to be the request message.
Create a { @link TerraHarvestMessage } to be the request message .