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

zmq.io.coder.Encoder Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package zmq.io.coder;

import zmq.util.Errno;

public abstract class Encoder extends EncoderBase
{
    protected final Runnable sizeReady = new Runnable()
    {
        @Override
        public void run()
        {
            sizeReady();
        }

    };

    protected final Runnable messageReady = new Runnable()
    {
        @Override
        public void run()
        {
            messageReady();
        }

    };

    protected Encoder(Errno errno, int bufsize)
    {
        super(errno, bufsize);
    }

    protected abstract void sizeReady();

    protected abstract void messageReady();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy