net.kano.joscar.rvproto.rvproxy
Class RvProxyReadyCmd

java.lang.Object
  extended byRvProxyCmd
      extended byRvProxyReadyCmd

public class RvProxyReadyCmd
extends RvProxyCmd

A RV Proxy command used to indicate that the connection has been made. This command will always be the last RV Proxy command received on an AOL Proxy Server connection; after this command is received, all data sent and received will be sent directly to the client on the other side of the proxy.


Constructor Summary
  RvProxyReadyCmd()
          Creates a new outgoing RV Proxy "connection ready" command.
protected RvProxyReadyCmd(RvProxyPacket header)
          Creates a new RV Proxy "connection ready" command from the given incoming connection ready packet.
 
Method Summary
 java.lang.String toString()
           
 void writeCommandData(java.io.OutputStream out)
          Writes this command's raw "command-specific data" to the given stream.
 
Methods inherited from class RvProxyCmd
getCommandType, getFlags, getPacketVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RvProxyReadyCmd

protected RvProxyReadyCmd(RvProxyPacket header)
Creates a new RV Proxy "connection ready" command from the given incoming connection ready packet.

Parameters:
header - an incoming RV Proxy "connection ready" packet

RvProxyReadyCmd

public RvProxyReadyCmd()
Creates a new outgoing RV Proxy "connection ready" command.

Method Detail

writeCommandData

public void writeCommandData(java.io.OutputStream out)
                      throws java.io.IOException
Description copied from class: RvProxyCmd
Writes this command's raw "command-specific data" to the given stream.

Specified by:
writeCommandData in class RvProxyCmd
Parameters:
out - the stream to which to write
Throws:
java.io.IOException - if an I/O error occurs

toString

public java.lang.String toString()