All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.pgasync.impl.io.SSLHandshakeEncoder Maven / Gradle / Ivy

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