public class ReactorReturnCodes
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CHANNEL_ERROR
An error was encountered during a channel operation.
|
static int |
FAILURE
A general failure has occurred.
|
static int |
INVALID_ENCODING
The interface is attempting to write a message to the Reactor
with an invalid encoding.
|
static int |
INVALID_USAGE
The interface is being improperly used.
|
static int |
NO_BUFFERS
Transport Failure: There are no buffers available from the buffer pool,
returned from
ReactorChannel.submit(com.thomsonreuters.upa.codec.Msg,
ReactorSubmitOptions, ReactorErrorInfo). |
static int |
PARAMETER_INVALID
Indicates that a parameter was invalid.
|
static int |
PARAMETER_OUT_OF_RANGE
Indicates that a parameter was out of range.
|
static int |
PERSISTENCE_FULL
The interface is attempting to write a message to the TunnelStream,
but the persistence file is full.
|
static int |
SUCCESS
Indicates a success code.
|
static int |
WRITE_CALL_AGAIN
Transport Success:
ReactorChannel.submit(com.thomsonreuters.upa.transport.TransportBuffer,
ReactorSubmitOptions, ReactorErrorInfo) is fragmenting the buffer and needs to be called again
with the same buffer. |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
toString(int type)
Returns a String representation of the specified ReactorReturnCodes type.
|
public static final int SUCCESS
public static final int FAILURE
ReactorErrorInfo contains
more information about the specific error.public static final int WRITE_CALL_AGAIN
ReactorChannel.submit(com.thomsonreuters.upa.transport.TransportBuffer,
ReactorSubmitOptions, ReactorErrorInfo) is fragmenting the buffer and needs to be called again
with the same buffer. This indicates that Write was unable to send all
fragments with the current call and must continue fragmenting.public static final int NO_BUFFERS
ReactorChannel.submit(com.thomsonreuters.upa.codec.Msg,
ReactorSubmitOptions, ReactorErrorInfo). Use ReactorChannel.ioctl(int, int, ReactorErrorInfo)
to increase pool size or wait for the Reactor's Worker thread to flush data and
return buffers to pool. Use ReactorChannel.bufferUsage(ReactorErrorInfo)
to monitor for free buffers.public static final int PARAMETER_OUT_OF_RANGE
public static final int PARAMETER_INVALID
public static final int INVALID_USAGE
public static final int CHANNEL_ERROR
public static final int INVALID_ENCODING
public static final int PERSISTENCE_FULL
Copyright @ 2019 Thomson Reuters. All Rights Reserved.