mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/DataStreamServiceNamespaceUtils.java
public static void disableStreamProfile(Socket socket, SharedMessages.UUID uuid) throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        
        DisableStreamProfileRequestData request = DisableStreamProfileRequestData.newBuilder().
                setUuid(uuid).build();
        TerraHarvestMessage message = DataStreamServiceNamespaceUtils.createDataStreamServiceNamespaceMessage(
                DataStreamServiceMessageType.DisableStreamProfileRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        
        try
        {
            listener.waitForMessages(TIMEOUT,
                    new BasicMessageMatcher(Namespace.DataStreamService, 
                            DataStreamServiceMessageType.DisableStreamProfileResponse));                   
        }
        finally
        {
            
        }
    }
/**
     * Disable a stream profile using the given UUID and wait for the response.
     */
Disable a stream profile using the given UUID and wait for the response.
Disable a stream profile using the given UUID and wait for the response .
public static void disableStreamProfile(Socket socket, SharedMessages.UUID uuid) throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        DisableStreamProfileRequestData request = DisableStreamProfileRequestData.newBuilder().
                setUuid(uuid).build();
        TerraHarvestMessage message = DataStreamServiceNamespaceUtils.createDataStreamServiceNamespaceMessage(
                DataStreamServiceMessageType.DisableStreamProfileRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        try
        {
            listener.waitForMessages(TIMEOUT,
                    new BasicMessageMatcher(Namespace.DataStreamService, 
                            DataStreamServiceMessageType.DisableStreamProfileResponse));                   
        }
        finally
        {
        }
    }
public static void disableStreamProfile ( Socket socket , SharedMessages . UUID uuid ) throws IOException { MessageListener listener = new MessageListener ( socket ) ; DisableStreamProfileRequestData request = DisableStreamProfileRequestData . newBuilder ( ) . setUuid ( uuid ) . build ( ) ; TerraHarvestMessage message = DataStreamServiceNamespaceUtils . createDataStreamServiceNamespaceMessage ( DataStreamServiceMessageType . DisableStreamProfileRequest , request ) ; message . writeDelimitedTo ( socket . getOutputStream ( ) ) ; try { listener . waitForMessages ( TIMEOUT , new BasicMessageMatcher ( Namespace . DataStreamService , DataStreamServiceMessageType . DisableStreamProfileResponse ) ) ; } finally { } }
Disable a stream profile using the given UUID and wait for the response.
Disable a stream profile using the given UUID and wait for the response .