Interface LargeBodyReader
-
- All Superinterfaces:
AutoCloseable
public interface LargeBodyReader extends AutoCloseable
Class used to readInto message body into buffers.
Used to send large streams over the wire None of these methods should be caleld from Clients
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()This method must not be called directly by ActiveMQ Artemis clients.longgetSize()This method must not be called directly by ActiveMQ Artemis clients.voidopen()This method must not be called directly by ActiveMQ Artemis clients.longposition()This method must not be called directly by ActiveMQ Artemis clients.voidposition(long position)This method must not be called directly by ActiveMQ Artemis clients.intreadInto(ByteBuffer bufferRead)This method must not be called directly by ActiveMQ Artemis clients.
-
-
-
Method Detail
-
open
void open() throws ActiveMQException
This method must not be called directly by ActiveMQ Artemis clients.- Throws:
ActiveMQException
-
position
void position(long position) throws ActiveMQExceptionThis method must not be called directly by ActiveMQ Artemis clients. This is the reading position.- Throws:
ActiveMQException
-
position
long position()
This method must not be called directly by ActiveMQ Artemis clients. This is the reading position.
-
close
void close() throws ActiveMQExceptionThis method must not be called directly by ActiveMQ Artemis clients.- Specified by:
closein interfaceAutoCloseable- Throws:
ActiveMQException
-
readInto
int readInto(ByteBuffer bufferRead) throws ActiveMQException
This method must not be called directly by ActiveMQ Artemis clients.- Throws:
ActiveMQException
-
getSize
long getSize() throws ActiveMQExceptionThis method must not be called directly by ActiveMQ Artemis clients.- Throws:
ActiveMQException
-
-