|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.proxy.ProxyPacket
Represents an AOL Proxy packet.
Field Summary | |
static int |
CMDTYPE_ACK
Indicates an ack (sent by server). |
static int |
CMDTYPE_ERROR
Indicates an error (sent by server). |
static int |
CMDTYPE_INIT_RECV
The first command sent to the server when receiving a connection via the AOL Proxy Server (sent by client). |
static int |
CMDTYPE_INIT_SEND
The first command sent to the server when creating a connection via the AOL Proxy Server (sent by client). |
static int |
CMDTYPE_READY
Indicates that the proxy initialization process has finished (sent by server). |
static int |
FLAGS_DEFAULT_FROM_CLIENT
The default flags sent by the client connecting to an AOL Proxy Server. |
static int |
FLAGS_DEFAULT_FROM_SERVER
The default flags sent by the AOL Proxy Server. |
static int |
PACKETVERSION_DEFAULT
The default packet version in WinAIM 5.2 |
Constructor Summary | |
ProxyPacket()
Creates a new proxy packet. |
Method Summary | |
byte[] |
getData()
Get the Data value. |
int |
getFlags()
Get the Flags value. |
int |
getType()
Get the Type value. |
int |
getUnknown()
Get the Unknown value. |
int |
getVersion()
Get the Version value. |
void |
setData(byte[] newData)
Set the Data value. |
void |
setFlags(int newFlags)
Set the Flags value. |
void |
setType(int newType)
Set the Type value. |
void |
setUnknown(int newUnknown)
Set the Unknown value. |
void |
setVersion(int newVersion)
Set the Version value. |
java.lang.String |
toString()
Returns the string representation of this proxy packet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PACKETVERSION_DEFAULT
public static final int CMDTYPE_ERROR
public static final int CMDTYPE_INIT_SEND
public static final int CMDTYPE_ACK
public static final int CMDTYPE_INIT_RECV
public static final int CMDTYPE_READY
public static final int FLAGS_DEFAULT_FROM_SERVER
public static final int FLAGS_DEFAULT_FROM_CLIENT
Constructor Detail |
public ProxyPacket()
Method Detail |
public int getVersion()
public void setVersion(int newVersion)
newVersion
- The new Version value.public int getType()
public void setType(int newType)
newType
- The new Type value.public int getUnknown()
public void setUnknown(int newUnknown)
newUnknown
- The new Unknown value.public int getFlags()
public void setFlags(int newFlags)
newFlags
- The new Flags value.public byte[] getData()
public void setData(byte[] newData)
newData
- The new Data value.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |