com.continuent.tungsten.common.mysql
Class MySQLGreetingPacket

java.lang.Object
  extended by com.continuent.tungsten.common.mysql.MySQLGreetingPacket

public abstract class MySQLGreetingPacket
extends java.lang.Object


Constructor Summary
MySQLGreetingPacket()
           
 
Method Summary
static byte[] getSeed(MySQLPacket p)
          Extracts the seed encoded in this packet.
The seed is the concatenation of two arrays of bytes found in this packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLGreetingPacket

public MySQLGreetingPacket()
Method Detail

getSeed

public static byte[] getSeed(MySQLPacket p)
Extracts the seed encoded in this packet.
The seed is the concatenation of two arrays of bytes found in this packet.

Returns:
the server seed to salt password with for password encoding purposes