mil.dod.th.remote.client.integration/src/mil/dod/th/remote/client/integration/AssetUtils.java
public static void deleteAllAsset(BundleContext context) throws IOException
    {
        MessageListener listener = new MessageListener(context);
        
        getAssetDirMsgGen(context).createGetAssetsRequest().send(SystemConstants.REMOTE_SYS_ID);
        GetAssetsResponseData response = listener.waitForMessage(Namespace.AssetDirectoryService,
                AssetDirectoryServiceMessageType.GetAssetsResponse, 5, TimeUnit.SECONDS);
        
        for (FactoryObjectInfo info : response.getAssetInfoList())
        {
            deleteAsset(context, info.getUuid());
        }
    }
/**
     * Delete all assets that exists on the remote system.
     */
Delete all assets that exists on the remote system.
Delete all assets that exists on the remote system .
public static void deleteAllAsset(BundleContext context) throws IOException
    {
        MessageListener listener = new MessageListener(context);
        getAssetDirMsgGen(context).createGetAssetsRequest().send(SystemConstants.REMOTE_SYS_ID);
        GetAssetsResponseData response = listener.waitForMessage(Namespace.AssetDirectoryService,
                AssetDirectoryServiceMessageType.GetAssetsResponse, 5, TimeUnit.SECONDS);
        for (FactoryObjectInfo info : response.getAssetInfoList())
        {
            deleteAsset(context, info.getUuid());
        }
    }
public static void deleteAllAsset ( BundleContext context ) throws IOException { MessageListener listener = new MessageListener ( context ) ; getAssetDirMsgGen ( context ) . createGetAssetsRequest ( ) . send ( SystemConstants . REMOTE_SYS_ID ) ; GetAssetsResponseData response = listener . waitForMessage ( Namespace . AssetDirectoryService , AssetDirectoryServiceMessageType . GetAssetsResponse , 5 , TimeUnit . SECONDS ) ; for ( FactoryObjectInfo info : response . getAssetInfoList ( ) ) { deleteAsset ( context , info . getUuid ( ) ) ; } }
Delete all assets that exists on the remote system.
Delete all assets that exists on the remote system .