public class Handshake extends Object implements Externalizable
| Constructor and Description |
|---|
Handshake() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationType |
getAuthType() |
byte[] |
getPublicKey() |
byte[] |
getPublicKeyLarge() |
String |
getVersion() |
void |
readExternal(ObjectInput in) |
void |
setAuthType(AuthenticationType authType) |
void |
setPublicKey(byte[] key) |
void |
setPublicKeyLarge(byte[] publicKeyLarge) |
void |
setVersion() |
void |
writeExternal(ObjectOutput out) |
public String getVersion()
public void setVersion()
version - The version to set.public byte[] getPublicKey()
public void setPublicKey(byte[] key)
key - The key to set.public AuthenticationType getAuthType()
public void setAuthType(AuthenticationType authType)
public byte[] getPublicKeyLarge()
public void setPublicKeyLarge(byte[] publicKeyLarge)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.