mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/AssetNamespaceUtils.java
public static void changeAssetName(final Socket socket, final SharedMessages.UUID uuid, final String name) 
        throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        
        //request
        SetNameRequestData request = SetNameRequestData.newBuilder().
             setAssetName(name).
             setUuid(uuid).build();
        TerraHarvestMessage message = AssetNamespaceUtils.createAssetMessage(
                AssetMessageType.SetNameRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        
        listener.waitForMessage(Namespace.Asset, AssetMessageType.SetNameResponse,
                TIMEOUT);
    }
/**
     * Change an asset's name.
     * @param socket
     *     the socket connection to use
     * @param uuid
     *     the proto UUID message containing the UUID 
     * @param name
     *     the name to set for the newly created asset
     */
Change an asset's name.
@param socket
the socket connection to use
@param uuid
the proto UUID message containing the UUID
@param name
the name to set for the newly created asset
Change an asset ' s name . @param socket the socket connection to use @param uuid the proto UUID message containing the UUID @param name the name to set for the newly created asset
public static void changeAssetName(final Socket socket, final SharedMessages.UUID uuid, final String name) 
        throws IOException
    {
        MessageListener listener = new MessageListener(socket);
        SetNameRequestData request = SetNameRequestData.newBuilder().
             setAssetName(name).
             setUuid(uuid).build();
        TerraHarvestMessage message = AssetNamespaceUtils.createAssetMessage(
                AssetMessageType.SetNameRequest, request);
        message.writeDelimitedTo(socket.getOutputStream());
        listener.waitForMessage(Namespace.Asset, AssetMessageType.SetNameResponse,
                TIMEOUT);
    }
public static void changeAssetName ( final Socket socket , final SharedMessages . UUID uuid , final String name ) throws IOException { MessageListener listener = new MessageListener ( socket ) ; SetNameRequestData request = SetNameRequestData . newBuilder ( ) . setAssetName ( name ) . setUuid ( uuid ) . build ( ) ; TerraHarvestMessage message = AssetNamespaceUtils . createAssetMessage ( AssetMessageType . SetNameRequest , request ) ; message . writeDelimitedTo ( socket . getOutputStream ( ) ) ; listener . waitForMessage ( Namespace . Asset , AssetMessageType . SetNameResponse , TIMEOUT ) ; }
Change an asset's name.
Change an asset ' s name .
//request