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

java.lang.Object
  extended by org.xnap.plugin.overnet.net.msg.OvernetMessage
      extended by org.xnap.plugin.overnet.net.msg.core.OvernetCoreMessage
Direct Known Subclasses:
ChangeUploadSlotMessage, CoreStatusMessage, DownloadStatusMessage, GapsMessage, NewDownloadMessage, NewUploadMessage, OptionsMessage, RemoveDownloadMessage, RemoveUploadSlotMessage, SearchResultMessage, SharedDirsMessage, SharedFilesMessage, UploadStatusMessage

public abstract class OvernetCoreMessage
extends OvernetMessage


Field Summary
 
Fields inherited from class org.xnap.plugin.overnet.net.msg.OvernetMessage
type
 
Constructor Summary
protected OvernetCoreMessage(byte type, java.nio.ByteBuffer buffer)
           
 
Method Summary
protected  byte get()
           
protected  void get(byte[] array)
           
protected  float getFloat()
           
protected  int getInt()
           
protected  short getShort()
           
protected  java.lang.String getString()
           
 boolean isValid()
           
protected  Tags readTags()
           
protected  int remaining()
           
protected  void skip(int length)
           
 
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
 

Constructor Detail

OvernetCoreMessage

protected OvernetCoreMessage(byte type,
                             java.nio.ByteBuffer buffer)
Method Detail

isValid

public boolean isValid()

getString

protected java.lang.String getString()

skip

protected void skip(int length)

getShort

protected short getShort()

getInt

protected int getInt()

getFloat

protected float getFloat()

get

protected byte get()

get

protected void get(byte[] array)

remaining

protected int remaining()

readTags

protected Tags readTags()


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