|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSnacCommand
ConnCommand
PauseCmd
A SNAC command sent to tell the client to stop sending packets and to send
a PauseAck
. This is the first step of the migration process; the
next command sent by the server is normally one of MigrationNotice
and ResumeCmd
.
PauseAck
0x01
, command 0x0b
Field Summary |
Fields inherited from class SnacCommand |
SNACFLAG_DEFAULT |
Constructor Summary | |
|
PauseCmd()
Creates a new outgoing pause command. |
protected |
PauseCmd(SnacPacket packet)
Generates a new pause command from the given incoming SNAC packet. |
Method Summary | |
java.lang.String |
toString()
|
void |
writeData(java.io.OutputStream out)
Writes this command's SNAC data block to the given stream. |
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 PauseCmd(SnacPacket packet)
packet
- an incoming pause command packetpublic PauseCmd()
Method Detail |
public void writeData(java.io.OutputStream out) throws java.io.IOException
SnacCommand
writeData
in class SnacCommand
out
- the stream to which to write the SNAC data
java.io.IOException
- if an I/O error occurspublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |