JML

net.sf.jqql.beans
Class SMS

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

public class SMS
extends Object

 SMS wrapper class
 短消息封装类
 

Author:
luma
See Also:
ReceiveIMPacket

Field Summary
 int head
           
 String message
           
 int sender
           
 String senderName
           
 long time
           
 
Constructor Summary
SMS()
           
 
Method Summary
 void readBindUserSMS(ByteBuffer buf)
          given an input stream, parse SMS 给定一个输入流,解析SMS结构
 void readMobileQQ2SMS(ByteBuffer buf)
          read message of QQ mobile user(descripe with mobile number) 读取移动QQ用户消息(通过手机号描述)
 void readMobileQQSMS(ByteBuffer buf)
          read SMS of QQ mobile user 读取移动QQ用户的短信
 void readMobileSMS(ByteBuffer buf)
          read normal mobile SMS 读取普通手机的短信
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

public String message

sender

public int sender

head

public int head

time

public long time

senderName

public String senderName
Constructor Detail

SMS

public SMS()
Method Detail

readBindUserSMS

public void readBindUserSMS(ByteBuffer buf)
given an input stream, parse SMS 给定一个输入流,解析SMS结构

Parameters:
buf -

readMobileQQSMS

public void readMobileQQSMS(ByteBuffer buf)
read SMS of QQ mobile user 读取移动QQ用户的短信

Parameters:
buf -

readMobileQQ2SMS

public void readMobileQQ2SMS(ByteBuffer buf)
read message of QQ mobile user(descripe with mobile number) 读取移动QQ用户消息(通过手机号描述)

Parameters:
buf -

readMobileSMS

public void readMobileSMS(ByteBuffer buf)
read normal mobile SMS 读取普通手机的短信

Parameters:
buf -

JML