Package com.ngt.jopenmetaverse.shared.sim.events.asm

Examples of com.ngt.jopenmetaverse.shared.sim.events.asm.XferDownload


        boolean fromCache)
    {
        UUID uuid = UUID.Random();
        BigInteger id = uuid.GetULong();

        XferDownload transfer = new XferDownload();
        transfer.XferID = id;
        transfer.ID = new UUID(id.longValue()); // Our dictionary tracks transfers with UUIDs, so convert the ulong back
        transfer.Filename = filename;
        transfer.VFileID = vFileID;
        transfer.AssetType = vFileType;
View Full Code Here


        SendXferPacketPacket xfer = (SendXferPacketPacket)e.getPacket();

        // Lame ulong to UUID conversion, please go away Xfer system
        UUID transferID = new UUID(xfer.XferID.ID.longValue());
        Transfer transfer;
        XferDownload download = null;

        if ((transfer = Transfers.get(transferID))!=null)
        {
            download = (XferDownload)transfer;
View Full Code Here

    /// <param name="sender">The sender</param>
    /// <param name="e">The EventArgs object containing the packet data</param>
    protected void AbortXferHandler(Object sender, PacketReceivedEventArgs e)
    {
        AbortXferPacket abort = (AbortXferPacket)e.getPacket();
        XferDownload download = null;

        // Lame ulong to UUID conversion, please go away Xfer system
        UUID transferID = new UUID(abort.XferID.ID.longValue());

        synchronized(Transfers)
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.events.asm.XferDownload

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.