Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.services.streaming
Class DownloadInfo

java.lang.Object
  extended by org.nuxeo.runtime.services.streaming.DownloadInfo
All Implemented Interfaces:
Serializable

public class DownloadInfo
extends Object
implements Serializable

Usefull for optimizing downloads. Apart the session iud a preferred download size is returned so that the client is notified about the optimal transfer buffer size

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 int preferredSize
           
 long sid
           
 
Constructor Summary
DownloadInfo(long sid, int preferredSize)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sid

public final long sid

preferredSize

public final int preferredSize
Constructor Detail

DownloadInfo

public DownloadInfo(long sid,
                    int preferredSize)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.