|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRvProxyCmd
RvProxyAckCmd
A RV Proxy command indicating that the initialization of an AOL Proxy Server connection is complete and the user on the receiving end may be told to connect.
Constructor Summary | |
|
RvProxyAckCmd(java.net.Inet4Address ip,
int port)
Creates a new outgoing RV proxy connection acknowledgement command with the given proxy server IP address and "port" values. |
protected |
RvProxyAckCmd(RvProxyPacket header)
Creates a new RV proxy connection acknowledgement command from the given incoming RV proxy connection acknowledgement packet. |
Method Summary | |
java.net.Inet4Address |
getProxyIpAddress()
Returns the proxy's IP address, as sent in this command. |
int |
getProxyPort()
Returns a "port" value to send to the "receiving user." |
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 |
protected RvProxyAckCmd(RvProxyPacket header)
header
- an incoming connection acknowledgement packetpublic RvProxyAckCmd(java.net.Inet4Address ip, int port)
ip
- the IP address for the "receiving user" (the user to whom an
AOL Proxy Server connection invitation is being sent) to connect
to to begin the connectionport
- a "port" value for the receiving user to send in its RvProxyInitRecvCmd
Method Detail |
public final java.net.Inet4Address getProxyIpAddress()
public final int getProxyPort()
5190
). What is
known is that this value must be passed by the receiving user in his
RvProxyInitRecvCmd
(once again as the "port" value).
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 |