@Test public void testCompatibility() throws Exception { ObjectInputStream ois = new ObjectInputStream(new FileInputStream(UnitTestUtil.getTestDataFile("handshake.ser"))); Handshake hs = (Handshake)ois.readObject(); assertEquals(AuthenticationType.USERPASSWORD, hs.getAuthType()); }
@Deprecated public AuthenticationType getAuthType() { return authType; }
Handshake implements Externalizable { @Deprecated public AuthenticationType getAuthType() { return authType; } }
Handshake implements Externalizable { @Deprecated public AuthenticationType getAuthType() { return authType; } Handshake();   Handshake(String version); }
Handshake implements Externalizable { @Deprecated public AuthenticationType getAuthType() { return authType; } Handshake();   Handshake(String version); String getVersion(); void setVersion(); byte[] getPublicKey(); void setPublicKey(byte[] key); @Deprecated AuthenticationType getAuthType(); void setAuthType(AuthenticationType authType); byte[] getPublicKeyLarge(); void setPublicKeyLarge(byte[] publicKeyLarge); boolean isCbc(); void setCbc(boolean cbc); @Override void readExternal(ObjectInput in); @Override void writeExternal(ObjectOutput out); }
Handshake implements Externalizable { @Deprecated public AuthenticationType getAuthType() { return authType; } Handshake();   Handshake(String version); String getVersion(); void setVersion(); byte[] getPublicKey(); void setPublicKey(byte[] key); @Deprecated AuthenticationType getAuthType(); void setAuthType(AuthenticationType authType); byte[] getPublicKeyLarge(); void setPublicKeyLarge(byte[] publicKeyLarge); boolean isCbc(); void setCbc(boolean cbc); @Override void readExternal(ObjectInput in); @Override void writeExternal(ObjectOutput out);  }