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

java.lang.Object
  extended by org.xnap.plugin.overnet.net.msg.core.Tags

public class Tags
extends java.lang.Object


Field Summary
static java.lang.String TAGNAME_AVAILABILITY_SHORT
           
static java.lang.String TAGNAME_CLIENTVERSION_SHORT
           
static java.lang.String TAGNAME_FILEFORMAT_SHORT
           
static java.lang.String TAGNAME_FILENAME_SHORT
           
static java.lang.String TAGNAME_FILESIZE_SHORT
           
static java.lang.String TAGNAME_FILETYPE_SHORT
           
static java.lang.String TAGNAME_GAPEND_SHORT
           
static java.lang.String TAGNAME_GAPSTART_SHORT
           
static java.lang.String TAGNAME_PING_SHORT
           
static java.lang.String TAGNAME_PORT_SHORT
           
static java.lang.String TAGNAME_PREFERENCE_SHORT
           
static java.lang.String TAGNAME_PRIORITY_SHORT
           
static java.lang.String TAGNAME_SERVERDESCRIPTION_SHORT
           
static java.lang.String TAGNAME_TEMPFILENAME_SHORT
           
static java.lang.String TAGNAME_TRANSFERED_SHORT
           
static byte TAGTYPE_BLOB
           
static byte TAGTYPE_BOOL
           
static byte TAGTYPE_BOOLARRAY
           
static byte TAGTYPE_FLOAT
           
static byte TAGTYPE_HASH
           
static byte TAGTYPE_INT
           
static byte TAGTYPE_LAST_UNDEFINED
           
static byte TAGTYPE_STRING
           
static byte TAGTYPE_UNDEFINED
           
 
Constructor Summary
Tags(int num, java.nio.ByteBuffer buffer)
           
 
Method Summary
 int getInt(java.lang.String key)
           
 java.lang.String getShortName()
           
 int getSize()
           
 java.lang.String getString(java.lang.String key)
           
 java.lang.Object getValue(java.lang.String key)
           
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAGNAME_FILENAME_SHORT

public static final java.lang.String TAGNAME_FILENAME_SHORT

TAGNAME_FILESIZE_SHORT

public static final java.lang.String TAGNAME_FILESIZE_SHORT

TAGNAME_FILETYPE_SHORT

public static final java.lang.String TAGNAME_FILETYPE_SHORT

TAGNAME_FILEFORMAT_SHORT

public static final java.lang.String TAGNAME_FILEFORMAT_SHORT

TAGNAME_TRANSFERED_SHORT

public static final java.lang.String TAGNAME_TRANSFERED_SHORT

TAGNAME_SERVERDESCRIPTION_SHORT

public static final java.lang.String TAGNAME_SERVERDESCRIPTION_SHORT

TAGNAME_CLIENTVERSION_SHORT

public static final java.lang.String TAGNAME_CLIENTVERSION_SHORT

TAGNAME_TEMPFILENAME_SHORT

public static final java.lang.String TAGNAME_TEMPFILENAME_SHORT

TAGNAME_PRIORITY_SHORT

public static final java.lang.String TAGNAME_PRIORITY_SHORT

TAGNAME_GAPSTART_SHORT

public static final java.lang.String TAGNAME_GAPSTART_SHORT

TAGNAME_GAPEND_SHORT

public static final java.lang.String TAGNAME_GAPEND_SHORT

TAGNAME_AVAILABILITY_SHORT

public static final java.lang.String TAGNAME_AVAILABILITY_SHORT

TAGNAME_PING_SHORT

public static final java.lang.String TAGNAME_PING_SHORT

TAGNAME_PREFERENCE_SHORT

public static final java.lang.String TAGNAME_PREFERENCE_SHORT

TAGNAME_PORT_SHORT

public static final java.lang.String TAGNAME_PORT_SHORT

TAGTYPE_UNDEFINED

public static final byte TAGTYPE_UNDEFINED
See Also:
Constant Field Values

TAGTYPE_HASH

public static final byte TAGTYPE_HASH
See Also:
Constant Field Values

TAGTYPE_STRING

public static final byte TAGTYPE_STRING
See Also:
Constant Field Values

TAGTYPE_INT

public static final byte TAGTYPE_INT
See Also:
Constant Field Values

TAGTYPE_FLOAT

public static final byte TAGTYPE_FLOAT
See Also:
Constant Field Values

TAGTYPE_BOOL

public static final byte TAGTYPE_BOOL
See Also:
Constant Field Values

TAGTYPE_BOOLARRAY

public static final byte TAGTYPE_BOOLARRAY
See Also:
Constant Field Values

TAGTYPE_BLOB

public static final byte TAGTYPE_BLOB
See Also:
Constant Field Values

TAGTYPE_LAST_UNDEFINED

public static final byte TAGTYPE_LAST_UNDEFINED
See Also:
Constant Field Values
Constructor Detail

Tags

public Tags(int num,
            java.nio.ByteBuffer buffer)
Method Detail

getShortName

public java.lang.String getShortName()

getSize

public int getSize()

getValue

public java.lang.Object getValue(java.lang.String key)

getInt

public int getInt(java.lang.String key)

getString

public java.lang.String getString(java.lang.String key)

iterator

public java.util.Iterator iterator()


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