public class S01PacketEncryptionRequest extends java.lang.Object implements Packet<INetHandlerLoginClient>
Constructor and Description |
---|
S01PacketEncryptionRequest() |
S01PacketEncryptionRequest(java.lang.String serverId,
java.security.PublicKey key,
byte[] verifyToken) |
Modifier and Type | Method and Description |
---|---|
java.security.PublicKey |
getPublicKey() |
java.lang.String |
getServerId() |
byte[] |
getVerifyToken() |
void |
processPacket(INetHandlerLoginClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
public S01PacketEncryptionRequest()
public S01PacketEncryptionRequest(java.lang.String serverId, java.security.PublicKey key, byte[] verifyToken)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void processPacket(INetHandlerLoginClient handler)
processPacket
in interface Packet<INetHandlerLoginClient>
public java.lang.String getServerId()
public java.security.PublicKey getPublicKey()
public byte[] getVerifyToken()