mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/ccomms/TestCustomCommsMessageService.java
private CustomCommsNamespace createGetCapsRequestMessage(final CommType commType, final String fqcn)
    {
        GetCapabilitiesRequestData request = GetCapabilitiesRequestData.newBuilder().
                setCommType(commType).setProductType(fqcn).build();
        CustomCommsNamespace capsMessage = CustomCommsNamespace.newBuilder().
                setType(CustomCommsMessageType.GetCapabilitiesRequest).
                setData(request.toByteString()).build();
        return capsMessage;
    }
/**
     * Helper method to construct getCapabilites request message
     */
Helper method to construct getCapabilites request message
Helper method to construct getCapabilites request message
private CustomCommsNamespace createGetCapsRequestMessage(final CommType commType, final String fqcn)
    {
        GetCapabilitiesRequestData request = GetCapabilitiesRequestData.newBuilder().
                setCommType(commType).setProductType(fqcn).build();
        CustomCommsNamespace capsMessage = CustomCommsNamespace.newBuilder().
                setType(CustomCommsMessageType.GetCapabilitiesRequest).
                setData(request.toByteString()).build();
        return capsMessage;
    }
private CustomCommsNamespace createGetCapsRequestMessage ( final CommType commType , final String fqcn ) { GetCapabilitiesRequestData request = GetCapabilitiesRequestData . newBuilder ( ) . setCommType ( commType ) . setProductType ( fqcn ) . build ( ) ; CustomCommsNamespace capsMessage = CustomCommsNamespace . newBuilder ( ) . setType ( CustomCommsMessageType . GetCapabilitiesRequest ) . setData ( request . toByteString ( ) ) . build ( ) ; return capsMessage ; }
Helper method to construct getCapabilites request message
Helper method to construct getCapabilites request message