public class PasswordMessageEncoder extends java.lang.Object implements Encoder<PasswordMessage>
PasswordMessage (F)
Byte1('p')
Identifies the message as a password response. Note that this is also used for GSSAPI and SSPI response messages (which is really a design error, since the contained data is not a null-terminated string in that case, but can be arbitrary binary data).
Int32
Length of message contents in bytes, including self.
String
The password (encrypted, if requested).
| Constructor and Description |
|---|
PasswordMessageEncoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<PasswordMessage> |
getMessageType() |
void |
write(PasswordMessage msg,
java.nio.ByteBuffer buffer) |
public java.lang.Class<PasswordMessage> getMessageType()
getMessageType in interface Encoder<PasswordMessage>public void write(PasswordMessage msg, java.nio.ByteBuffer buffer)
write in interface Encoder<PasswordMessage>msg - Protocol messagebuffer - Target bufferCopyright © 2014. All Rights Reserved.