Package | Description |
---|---|
org.jboss.errai.bus.server |
The server-side components of ErraiBus.
|
org.jboss.errai.bus.server.api | |
org.jboss.errai.bus.server.io | |
org.jboss.errai.bus.server.io.buffers |
Modifier and Type | Method and Description |
---|---|
BufferColor |
MessageQueueImpl.getBufferColor() |
Modifier and Type | Method and Description |
---|---|
BufferColor |
MessageQueue.getBufferColor() |
Modifier and Type | Method and Description |
---|---|
static void |
BufferHelper.encodeAndWrite(Buffer buffer,
BufferColor bufferColor,
Message message) |
static void |
BufferHelper.encodeAndWriteNoop(Buffer buffer,
BufferColor bufferColor) |
Modifier and Type | Method and Description |
---|---|
static BufferColor |
BufferColor.getAllBuffersColor()
Returns the all colors BufferColor which creates buffer data visible to all colors.
|
static BufferColor |
BufferColor.getNewColor()
Return a new unique BufferColor.
|
static BufferColor |
BufferColor.getNewColorFromHead(TransmissionBuffer buffer)
Returns a new unique BufferColor set to the head sequence of the specified TransmissionBuffer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Buffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
TransmissionBuffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor)
Reads all the available data of the specified color from the buffer into the provided OutputStream
|
boolean |
Buffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
boolean |
TransmissionBuffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback)
Reads all the available data of the specified color from the buffer into the provided OutputStream
with a provided
BufferFilter . |
boolean |
Buffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback,
long sequence) |
boolean |
TransmissionBuffer.read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback,
long sequence)
Reads all the available data of the specified color from the buffer into the provided OutputStream
with a provided
BufferFilter . |
boolean |
Buffer.readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
TransmissionBuffer.readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor)
Reads from the buffer into the provided OutputStream, waiting indefinitely for data to arrive that is
relavent to the specified
BufferColor |
boolean |
Buffer.readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
boolean |
TransmissionBuffer.readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback)
Reads from the buffer into the provided OutputStream, waiting indefinitely for data
of the specified color to become available.
|
boolean |
Buffer.readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
TransmissionBuffer.readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor)
Reads from the buffer into the provided OutputStream, waiting up to the specified wait time for data
of the specified color to become available.
|
boolean |
Buffer.readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
boolean |
TransmissionBuffer.readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback)
Reads from the buffer into the provided OutputStream, waiting indefinitely for data
of the specified color to become available with the provided callback.
|
void |
Buffer.write(InputStream inputStream,
BufferColor bufferColor) |
void |
TransmissionBuffer.write(InputStream inputStream,
BufferColor bufferColor)
Writes from the
InputStream into the buffer. |
void |
Buffer.write(int writeSize,
InputStream inputStream,
BufferColor bufferColor) |
void |
TransmissionBuffer.write(int writeSize,
InputStream inputStream,
BufferColor bufferColor)
Writes from an
InputStream into the buffer using the specified to allocate space
in the buffer. |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.