zmq.MsgAllocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jeromq Show documentation
Show all versions of jeromq Show documentation
Pure Java implementation of libzmq
package zmq;
public interface MsgAllocator
{
/**
* Allocate a Msg based on users needs (e.g., using DirectByteBuffer with additional space in
* front for header information).
*
* @param size The size of the Msg.
* @return Msg The ByteBuffer Msg to meet space requirements
*/
Msg allocate(int size);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy