JML

net.sf.jqql.beans
Class ClusterInfo

java.lang.Object
  extended by net.sf.jqql.beans.ClusterInfo

public class ClusterInfo
extends Object

cluster info wrapper bean

Author:
luma
See Also:
ClusterCommandPacket

Field Summary
 byte authType
           
 int category
           
 int clusterId
           
 int creator
           
 String description
           
 int externalId
           
 String name
           
 String notice
           
 int oldCategory
           
 byte type
           
 int unknown1
           
 char unknown2
           
 char unknown3
           
 byte unknown4
           
 char unknown5
           
 int versionId
           
 
Constructor Summary
ClusterInfo()
          Constructor
 
Method Summary
 void readClusterInfo(ByteBuffer buf)
          given a input stream, parse ClusterInfo, this method is used to get cluster info reply packet.
 void readClusterInfoFromSearchReply(ByteBuffer buf)
          make a ClusterInfo from the reply of search cluster
 void readTempClusterInfo(ByteBuffer buf)
          Read temp cluster info
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clusterId

public int clusterId

externalId

public int externalId

type

public byte type

unknown1

public int unknown1

creator

public int creator

authType

public byte authType

oldCategory

public int oldCategory

unknown2

public char unknown2

category

public int category

unknown3

public char unknown3

unknown4

public byte unknown4

versionId

public int versionId

name

public String name

unknown5

public char unknown5

description

public String description

notice

public String notice
Constructor Detail

ClusterInfo

public ClusterInfo()
Constructor

Method Detail

readTempClusterInfo

public void readTempClusterInfo(ByteBuffer buf)
Read temp cluster info

Parameters:
buf -

readClusterInfo

public void readClusterInfo(ByteBuffer buf)
given a input stream, parse ClusterInfo, this method is used to get cluster info reply packet.

Parameters:
buf -

readClusterInfoFromSearchReply

public void readClusterInfoFromSearchReply(ByteBuffer buf)
make a ClusterInfo from the reply of search cluster

Parameters:
buf -

JML