public static enum ByteBufferStoringSubscriber.TransferResult extends Enum<ByteBufferStoringSubscriber.TransferResult>
ByteBufferStoringSubscriber.transferTo(ByteBuffer)
.Enum Constant and Description |
---|
END_OF_STREAM
Data was successfully transferred to
out , and the end of stream has been reached. |
SUCCESS
Data was successfully transferred to
out , but the end of stream has not been reached. |
Modifier and Type | Method and Description |
---|---|
static ByteBufferStoringSubscriber.TransferResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufferStoringSubscriber.TransferResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBufferStoringSubscriber.TransferResult END_OF_STREAM
out
, and the end of stream has been reached. No future calls to
ByteBufferStoringSubscriber.transferTo(ByteBuffer)
will yield additional data.public static final ByteBufferStoringSubscriber.TransferResult SUCCESS
out
, but the end of stream has not been reached. Future calls to
ByteBufferStoringSubscriber.transferTo(ByteBuffer)
may yield additional data.public static ByteBufferStoringSubscriber.TransferResult[] values()
for (ByteBufferStoringSubscriber.TransferResult c : ByteBufferStoringSubscriber.TransferResult.values()) System.out.println(c);
public static ByteBufferStoringSubscriber.TransferResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.