org.xnap.plugin.overnet.net.msg.core
Class NewDownloadMessage

java.lang.Object
  extended by org.xnap.plugin.overnet.net.msg.OvernetMessage
      extended by org.xnap.plugin.overnet.net.msg.core.OvernetCoreMessage
          extended by org.xnap.plugin.overnet.net.msg.core.NewDownloadMessage

public class NewDownloadMessage
extends OvernetCoreMessage


Field Summary
 java.lang.String filename
           
 int filesize
           
 byte[] hash
           
 int id
           
 byte priority
          Holds the priority whith which the file should be downloaded.
static byte PRIORITY_HIGH
           
static byte PRIORITY_HIGHEST
           
static byte PRIORITY_LOW
           
static byte PRIORITY_NORMAL
           
 Tags tags
           
static byte TYPE
           
 
Fields inherited from class org.xnap.plugin.overnet.net.msg.OvernetMessage
type
 
Constructor Summary
NewDownloadMessage(java.nio.ByteBuffer buffer)
           
 
Method Summary
 
Methods inherited from class org.xnap.plugin.overnet.net.msg.core.OvernetCoreMessage
get, get, getFloat, getInt, getShort, getString, isValid, readTags, remaining, skip
 
Methods inherited from class org.xnap.plugin.overnet.net.msg.OvernetMessage
receive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final byte TYPE
See Also:
Constant Field Values

PRIORITY_LOW

public static final byte PRIORITY_LOW
See Also:
Constant Field Values

PRIORITY_NORMAL

public static final byte PRIORITY_NORMAL
See Also:
Constant Field Values

PRIORITY_HIGH

public static final byte PRIORITY_HIGH
See Also:
Constant Field Values

PRIORITY_HIGHEST

public static final byte PRIORITY_HIGHEST
See Also:
Constant Field Values

filename

public java.lang.String filename

filesize

public int filesize

hash

public byte[] hash

priority

public byte priority
Holds the priority whith which the file should be downloaded.
 0, low
 1, normal
 2, high
 3, highest
 


id

public int id

tags

public Tags tags
Constructor Detail

NewDownloadMessage

public NewDownloadMessage(java.nio.ByteBuffer buffer)


Copyright © 2001-2005 XNap Team. All Rights Reserved.