|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRvProxyCmd
Represents a single AOL Proxy protocol command to be sent over an AOL Proxy Server connection.
RvProxyPacket
Constructor Summary | |
protected |
RvProxyCmd(int cmdType)
Creates a new outgoing server-bound RV proxy command with the given command type, a packet version of RvProxyPacket.PACKETVERSION_DEFAULT , and a flag set containing RvProxyPacket.FLAGS_DEFAULT_FROM_CLIENT . |
protected |
RvProxyCmd(int cmdType,
int flags)
Creates a new outgoing RV proxy command with the given command type and bit flags. |
protected |
RvProxyCmd(int packetVersion,
int cmdType,
int flags)
Creates a new outgoing RV proxy command with the given command type, bit flags, and packet version. |
protected |
RvProxyCmd(RvProxyPacket packet)
Creates a new RV proxy command with properties read from the given incoming RV proxy packet. |
Method Summary | |
int |
getCommandType()
Returns this RV proxy command's command type code. |
int |
getFlags()
Returns this RV proxy command's set of bit flags. |
int |
getPacketVersion()
Returns this RV proxy command's "packet version" value. |
abstract void |
writeCommandData(java.io.OutputStream out)
Writes this command's raw "command-specific data" to the given stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RvProxyCmd(RvProxyPacket packet)
packet
- an incoming RV proxy packetprotected RvProxyCmd(int cmdType)
RvProxyPacket.PACKETVERSION_DEFAULT
, and a flag set containing RvProxyPacket.FLAGS_DEFAULT_FROM_CLIENT
.
cmdType
- a RV proxy command type for this command, like RvProxyPacket.CMDTYPE_INIT_SEND
protected RvProxyCmd(int cmdType, int flags)
RvProxyPacket.PACKETVERSION_DEFAULT
}.
cmdType
- a RV proxy command type for this command, like RvProxyPacket.CMDTYPE_INIT_SEND
flags
- a set of bit flags, like RvProxyPacket.FLAGS_DEFAULT_FROM_CLIENT
protected RvProxyCmd(int packetVersion, int cmdType, int flags)
packetVersion
- a "packet version" value for this command; should
normally be RvProxyPacket.PACKETVERSION_DEFAULT
cmdType
- a RV proxy command type for this command, like RvProxyPacket.CMDTYPE_INIT_SEND
flags
- a set of bit flags, like RvProxyPacket.FLAGS_DEFAULT_FROM_CLIENT
Method Detail |
public final int getPacketVersion()
RvProxyPacket.PACKETVERSION_DEFAULT
.
public final int getCommandType()
RvProxyPacket
's CMDTYPE_*
constants.
public final int getFlags()
RvProxyPacket.FLAGS_DEFAULT_FROM_CLIENT
or RvProxyPacket.FLAGS_DEFAULT_FROM_SERVER
.
public abstract void writeCommandData(java.io.OutputStream out) throws java.io.IOException
out
- the stream to which to write
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 |