net.sf.jml.protocol.incoming
Class IncomingMSG
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingMSG
- Direct Known Subclasses:
- IncomingMimeMessage
public class IncomingMSG
- extends MsnIncomingMessage
The received Message, maybe the notice of MSN Server or
the message sent by other user.
Supported Protocol: All
Syntax: MSG email displayName msgLen\r\n content
- Author:
- Roger Chen
Methods inherited from class net.sf.jml.protocol.MsnMessage |
addParam, asString, clearParams, getChunkData, getCommand, getParam, getParamCount, getProtocol, getTransactionId, load, save, setChunkData, setChunkData, setCommand, setParam, toString |
IncomingMSG
public IncomingMSG(MsnProtocol protocol)
isSupportTransactionId
protected boolean isSupportTransactionId()
- Description copied from class:
MsnMessage
- If support transaction id, then can set transaction id.
- Overrides:
isSupportTransactionId
in class MsnMessage
- Returns:
- is support transaction id
isSupportChunkData
protected boolean isSupportChunkData()
- Description copied from class:
MsnMessage
- If support chunk data, then can set chunk data.
- Overrides:
isSupportChunkData
in class MsnMessage
- Returns:
- is support chunk data
getEmail
public Email getEmail()
getDisplayName
public String getDisplayName()
getMsgLen
public int getMsgLen()
isSystemMsg
public boolean isSystemMsg()
getContent
public byte[] getContent()