mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/config/TestRemoteChannelConfigs.java
private TerraHarvestMessage createMessage()
    {
        BaseNamespace namespaceMsg = BaseNamespace.newBuilder().setType(BaseMessageType.GetOperationModeRequest)
                .build();
        TerraHarvestPayload tPayload = TerraHarvestPayload.newBuilder().setNamespace(Namespace.Base)
                .setNamespaceMessage(namespaceMsg.toByteString()).build();
        TerraHarvestMessage tMessage = TerraHarvestMessage.newBuilder().setDestId(200).setSourceId(1).setMessageId(5000)
                .setVersion(Version.newBuilder().setMajor(1).setMinor(1).build())
                .setTerraHarvestPayload(tPayload.toByteString()).build();
        return tMessage;
    }
/**
     * Create a message used for testing.
     */
Create a message used for testing.
Create a message used for testing .
private TerraHarvestMessage createMessage()
    {
        BaseNamespace namespaceMsg = BaseNamespace.newBuilder().setType(BaseMessageType.GetOperationModeRequest)
                .build();
        TerraHarvestPayload tPayload = TerraHarvestPayload.newBuilder().setNamespace(Namespace.Base)
                .setNamespaceMessage(namespaceMsg.toByteString()).build();
        TerraHarvestMessage tMessage = TerraHarvestMessage.newBuilder().setDestId(200).setSourceId(1).setMessageId(5000)
                .setVersion(Version.newBuilder().setMajor(1).setMinor(1).build())
                .setTerraHarvestPayload(tPayload.toByteString()).build();
        return tMessage;
    }
private TerraHarvestMessage createMessage ( ) { BaseNamespace namespaceMsg = BaseNamespace . newBuilder ( ) . setType ( BaseMessageType . GetOperationModeRequest ) . build ( ) ; TerraHarvestPayload tPayload = TerraHarvestPayload . newBuilder ( ) . setNamespace ( Namespace . Base ) . setNamespaceMessage ( namespaceMsg . toByteString ( ) ) . build ( ) ; TerraHarvestMessage tMessage = TerraHarvestMessage . newBuilder ( ) . setDestId ( 200 ) . setSourceId ( 1 ) . setMessageId ( 5000 ) . setVersion ( Version . newBuilder ( ) . setMajor ( 1 ) . setMinor ( 1 ) . build ( ) ) . setTerraHarvestPayload ( tPayload . toByteString ( ) ) . build ( ) ; return tMessage ; }
Create a message used for testing.
Create a message used for testing .