|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRvProxyCmd
RvProxyErrorCmd
An RV Proxy command used to indicate that some part of initializing a connection failed.
Field Summary | |
static int |
ERRORCODE_TIMEOUT
An error code sent upon connecting to an AOL Proxy Server and not sending any initialization commands. |
Constructor Summary | |
|
RvProxyErrorCmd(int errorCode)
Creates a new outgoing RV Proxy error command with the given error code. |
protected |
RvProxyErrorCmd(RvProxyPacket header)
Creates a new RV Proxy error command from the given incoming error packet. |
Method Summary | |
int |
getErrorCode()
Returns the error code sent in this command. |
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 |
Field Detail |
public static final int ERRORCODE_TIMEOUT
Constructor Detail |
protected RvProxyErrorCmd(RvProxyPacket header)
header
- an incoming RV Proxy error packetpublic RvProxyErrorCmd(int errorCode)
errorCode
- an error code, like ERRORCODE_TIMEOUT
Method Detail |
public final int getErrorCode()
ERRORCODE_TIMEOUT
.
public void writeCommandData(java.io.OutputStream out) throws java.io.IOException
RvProxyCmd
writeCommandData
in class RvProxyCmd
out
- the stream to which to write
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 |