|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSnacCommand
AbstractIcbm
AbstractImIcbm
A base class for the two IM-based ICBM commands in this family. These
commands are SendImIcbm
and RecvImIcbm
.
Field Summary |
Fields inherited from class AbstractIcbm |
CHANNEL_CHAT, CHANNEL_IM, CHANNEL_RV |
Fields inherited from class SnacCommand |
SNACFLAG_DEFAULT |
Constructor Summary | |
protected |
AbstractImIcbm(int command,
long messageId,
InstantMessage message,
boolean autoResponse,
boolean wantsIcon,
OldIconHashInfo iconInfo,
ExtraInfoBlock[] expInfoBlocks)
Creates a new outgoing IM ICBM with the given properties. |
protected |
AbstractImIcbm(int command,
SnacPacket packet)
Generates an IM ICBM from the given incoming SNAC packet and with the given SNAC command subtype. |
Method Summary | |
ExtraInfoBlock[] |
getAimExpressionInfo()
Returns the list of AIM Expression information blocks sent in this command. |
OldIconHashInfo |
getIconInfo()
Returns a set of icon data provided by the sender, or null
if none was sent. |
InstantMessage |
getMessage()
Returns the instant message sent with this command. |
boolean |
isAutoResponse()
Returns whether this message was an "auto-response." |
boolean |
senderWantsIcon()
Returns whether the sender is requesting a buddy icon. |
Methods inherited from class AbstractIcbm |
getChannel, getChannelData, getIcbmChannel, getIcbmMessageId, toString, writeChannelData, writeData |
Methods inherited from class SnacCommand |
getCommand, getFamily, getFlag1, getFlag2 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected AbstractImIcbm(int command, SnacPacket packet)
command
- the SNAC command subtype of this commandpacket
- an incoming IM ICBMprotected AbstractImIcbm(int command, long messageId, InstantMessage message, boolean autoResponse, boolean wantsIcon, OldIconHashInfo iconInfo, ExtraInfoBlock[] expInfoBlocks)
command
- the SNAC command subtype of this commandmessageId
- the eight-byte ICBM message ID to attach to this commandmessage
- the instant messageautoResponse
- whether this is an auto-response or notwantsIcon
- whether to request the receiving user's buddy iconiconInfo
- a set of our own buddy icon informationexpInfoBlocks
- a list of AIM Expression information blocksMethod Detail |
public final InstantMessage getMessage()
public final boolean isAutoResponse()
public final boolean senderWantsIcon()
public final OldIconHashInfo getIconInfo()
null
if none was sent.
public ExtraInfoBlock[] getAimExpressionInfo()
null
if none were sent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |