mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/AssetNamespaceUtils.java
public static void removeAsset(final Socket socket, final SharedMessages.UUID uuid) throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        
        DeleteRequestData request = DeleteRequestData.newBuilder().
                setUuid(uuid).build();

        TerraHarvestMessage message = createAssetMessage(AssetMessageType.DeleteRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        
        //listen for messages for a specific time interval
        listener.waitForMessage(Namespace.Asset, AssetMessageType.DeleteResponse, 
                TIMEOUT);
    }
/**
     * Remove the specified asset.
     *  @param socket
     *     the socket connection to use
     * @param uuid
     *     the UUID protocol buffer message
     */
Remove the specified asset.
@param socket
the socket connection to use
@param uuid
the UUID protocol buffer message
Remove the specified asset . @param socket the socket connection to use @param uuid the UUID protocol buffer message
public static void removeAsset(final Socket socket, final SharedMessages.UUID uuid) throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        DeleteRequestData request = DeleteRequestData.newBuilder().
                setUuid(uuid).build();
        TerraHarvestMessage message = createAssetMessage(AssetMessageType.DeleteRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        listener.waitForMessage(Namespace.Asset, AssetMessageType.DeleteResponse, 
                TIMEOUT);
    }
public static void removeAsset ( final Socket socket , final SharedMessages . UUID uuid ) throws IOException { MessageListener listener = new MessageListener ( socket ) ; DeleteRequestData request = DeleteRequestData . newBuilder ( ) . setUuid ( uuid ) . build ( ) ; TerraHarvestMessage message = createAssetMessage ( AssetMessageType . DeleteRequest , request ) ; message . writeDelimitedTo ( socket . getOutputStream ( ) ) ; listener . waitForMessage ( Namespace . Asset , AssetMessageType . DeleteResponse , TIMEOUT ) ; }
Remove the specified asset.
Remove the specified asset .
//listen for messages for a specific time interval