net.kano.joscar.snaccmd.icbm
Class RecvTypingNotification
java.lang.Object
SnacCommand
IcbmCommand
TypingCmd
RecvTypingNotification
- public class RecvTypingNotification
- extends TypingCmd
A SNAC command used to indicate another user's typing status.
- See Also:
SendTypingNotification- Source of this SNAC:
- AIM server
- SNAC command type:
- Family
0x04, command 0x14
| Fields inherited from class IcbmCommand |
CMD_ICBM, CMD_MISSED, CMD_MSG_ACK, CMD_PARAM_INFO, CMD_PARAM_INFO_REQ, CMD_RECV_TYPING, CMD_RV_RESPONSE, CMD_SEND_ICBM, CMD_SEND_TYPING, CMD_SET_PARAM_INFO, CMD_WARN, FAMILY_ICBM, FAMILY_INFO |
|
Constructor Summary |
|
RecvTypingNotification(long nulls,
int code,
java.lang.String sn,
int typingState)
Creates an outgoing client-bound typing notification command with the
given properties. |
protected |
RecvTypingNotification(SnacPacket packet)
Generates a new incoming typing notification command from the given
incoming SNAC packet. |
|
RecvTypingNotification(java.lang.String sn,
int typingState)
Creates an outgoing client-bound typing notification command with the
given properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RecvTypingNotification
protected RecvTypingNotification(SnacPacket packet)
- Generates a new incoming typing notification command from the given
incoming SNAC packet.
- Parameters:
packet - an incoming typing notification packet
RecvTypingNotification
public RecvTypingNotification(java.lang.String sn,
int typingState)
- Creates an outgoing client-bound typing notification command with the
given properties. The value of
nulls is TypingCmd.NULLS_DEFAULT (0) and the value of code is
TypingCmd.CODE_DEFAULT.
- Parameters:
sn - the screenname of the user who is typingtypingState - the typing state of the user, like TypingCmd.STATE_PAUSED
RecvTypingNotification
public RecvTypingNotification(long nulls,
int code,
java.lang.String sn,
int typingState)
- Creates an outgoing client-bound typing notification command with the
given properties.
- Parameters:
nulls - a value for the first eight bytes of the typing notification
command, normally 0, but here in case that changes
in the futurecode - some sort of code, normally TypingCmd.CODE_DEFAULTsn - the screenname of the user who is typingtypingState - the typing state of the user, like TypingCmd.STATE_PAUSED