|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSnacCommand
ConnCommand
ClientReadyCmd
A SNAC command sent to indicate that the client has finished initializing
the session and is ready to "go online." This also tells the server more
than the previously sent ClientVersionsCmd
about your SNAC family
versions.
0x01
, command 0x02
Field Summary |
Fields inherited from class SnacCommand |
SNACFLAG_DEFAULT |
Constructor Summary | |
|
ClientReadyCmd(SnacFamilyInfo[] infos)
Creates a new outgoing client ready command with the given SNAC family information blocks. |
protected |
ClientReadyCmd(SnacPacket packet)
Creates a new client ready command from the given incoming SNAC packet. |
Method Summary | |
SnacFamilyInfo[] |
getSnacFamilyInfos()
Returns the SNAC family information blocks sent with this command. |
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, toString, wait, wait, wait |
Constructor Detail |
protected ClientReadyCmd(SnacPacket packet)
packet
- an incoming client-ready packetpublic ClientReadyCmd(SnacFamilyInfo[] infos)
infos
- the SNAC family information blocks to send with this commandMethod Detail |
public final SnacFamilyInfo[] getSnacFamilyInfos()
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 occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |