com.github.pgasync.impl.io.SSLHandshakeEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgres-async-driver Show documentation
Show all versions of postgres-async-driver Show documentation
Asynchronous PostgreSQL Java driver
The newest version!
package com.github.pgasync.impl.io;
import com.github.pgasync.impl.message.SSLHandshake;
import java.nio.ByteBuffer;
/**
* @author Antti Laisi
*/
public class SSLHandshakeEncoder implements Encoder {
@Override
public Class getMessageType() {
return SSLHandshake.class;
}
@Override
public void write(SSLHandshake msg, ByteBuffer buffer) {
buffer.putInt(8);
buffer.putInt(80877103);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy