|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnOutgoingMessage
net.sf.jml.protocol.outgoing.OutgoingMSG
public class OutgoingMSG
Send message to other user. See http://www.hypothetic.org/docs/msn/switchboard/messages.php and http://www.hypothetic.org/docs/msn/research/msnp9.php. Supported Protocol: All Syntax: MSG trId msgType msgLen\r\n content
| Field Summary | |
|---|---|
static net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType |
TYPE_ACKNOWLEDGE_ALL
Will receive acknowledgement whether it was properly received or not. |
static net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType |
TYPE_ACKNOWLEDGE_NONE
Will receive no acknowledgement. |
static net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType |
TYPE_ACKNOWLEDGE_WHEN_ERROR
Will receive acknowledgement only if the message was not properly received. |
static net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType |
TYPE_INVITE
New type when use MSNP11 and send invite message. |
static net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType |
TYPE_MSNC1
It generally behaves like the A type, the official client always uses it (and only uses it) for special MSNC1 messages. |
| Fields inherited from class net.sf.jml.protocol.MsnMessage |
|---|
protocol |
| Constructor Summary | |
|---|---|
OutgoingMSG(MsnProtocol protocol)
|
|
| Method Summary | |
|---|---|
protected boolean |
isSupportChunkData()
If support chunk data, then can set chunk data. |
void |
setMsg(byte[] msg)
|
void |
setMsgType(net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType type)
|
| Methods inherited from class net.sf.jml.protocol.MsnOutgoingMessage |
|---|
messageSent, receivedResponse |
| Methods inherited from class net.sf.jml.protocol.MsnMessage |
|---|
addParam, asString, clearParams, getChunkData, getCommand, getParam, getParamCount, getProtocol, getTransactionId, isSupportTransactionId, load, save, setChunkData, setChunkData, setCommand, setParam, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType TYPE_ACKNOWLEDGE_NONE
public static final net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType TYPE_ACKNOWLEDGE_WHEN_ERROR
public static final net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType TYPE_ACKNOWLEDGE_ALL
public static final net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType TYPE_INVITE
public static final net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType TYPE_MSNC1
| Constructor Detail |
|---|
public OutgoingMSG(MsnProtocol protocol)
| Method Detail |
|---|
protected boolean isSupportChunkData()
MsnMessage
isSupportChunkData in class MsnMessagepublic void setMsgType(net.sf.jml.protocol.outgoing.OutgoingMSG.MsgType type)
public void setMsg(byte[] msg)
|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||