JML

net.sf.jqql.beans
Class ClusterIM

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

public class ClusterIM
extends Object

 cluster message wrapper bean, refer to ReceiveIMPacket for details
 for custom face format, refer NormalIM's remark 
 

Author:
luma
See Also:
NormalIM

Field Summary
 int clusterId
           
 char contentType
           
 int externalId
           
 boolean faceResolved
           
 FontStyle fontStyle
           
 int fragmentCount
           
 int fragmentSequence
           
 boolean hasFontAttribute
           
 String message
           
 byte[] messageBytes
           
 int messageId
           
 int sender
           
 long sendTime
           
 char sequence
           
 char source
           
 byte type
           
 char unknown1
           
 int versionId
           
 
Constructor Summary
ClusterIM(char source)
           
 
Method Summary
 void readBean(ByteBuffer buf)
          given a input stream, parse ClusterIM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public char source

externalId

public int externalId

type

public byte type

sender

public int sender

unknown1

public char unknown1

sequence

public char sequence

sendTime

public long sendTime

versionId

public int versionId

contentType

public char contentType

fragmentSequence

public int fragmentSequence

fragmentCount

public int fragmentCount

messageId

public int messageId

hasFontAttribute

public boolean hasFontAttribute

fontStyle

public FontStyle fontStyle

clusterId

public int clusterId

messageBytes

public byte[] messageBytes

message

public String message

faceResolved

public boolean faceResolved
Constructor Detail

ClusterIM

public ClusterIM(char source)
Method Detail

readBean

public void readBean(ByteBuffer buf)
given a input stream, parse ClusterIM

Parameters:
buf -

JML