|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lts.ipc.fifo.FIFOResult
public class FIFOResult
An internal class to hold the results of a call to a JNI method.
This is an internal class and not intended for general use.
This class is used to pass multiple results between the JNI layer and the Java layer of named pipes. JNI calls can only return a single result, so to overcome that limitation, an instance of this class is passed back instead.
Field Summary | |
---|---|
int |
byteCount
|
static int |
ERROR_ACCESS_DENIED
|
static int |
ERROR_CONNECT
An attempt to connect to a FIFO failed. |
static int |
ERROR_INVALID_HANDLE
An attempt was made to perform some operation such as listening or writing to a named pipe when the client did not have a valid pipe handle. |
static int |
ERROR_NOT_FOUND
An attempt was made to open a file, but either a component of the path to the file or the file itself does not exist. |
static int |
ERROR_PIPE_BUSY
An attempt was made to connect to a named pipe, but failed because all the instances were already connected to other clients. |
static int |
ERROR_PIPE_CLOSED
|
static int |
ERROR_READ
A generic problem occurred while trying to read from the FIFO. |
static int |
ERROR_SELECT
An error was encountered while making a call to wait for an IPC mechanism to become ready (e.g., select or WaitForSingleObject). |
static int |
ERROR_UNKNOWN
|
int |
errorCode
|
long |
handle
|
int |
resultCode
|
boolean |
server
Is the FIFO a server? |
static int |
SUCCESS
|
long |
syncObject
A windows-specific object required when using non-blocking FIFOs. |
static int |
TIMEOUT
Timeout while waiting for something. |
Constructor Summary | |
---|---|
FIFOResult()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ERROR_UNKNOWN
public static final int SUCCESS
public static final int ERROR_ACCESS_DENIED
public static final int ERROR_INVALID_HANDLE
public static final int ERROR_PIPE_BUSY
public static final int ERROR_NOT_FOUND
public static final int ERROR_PIPE_CLOSED
public static final int ERROR_CONNECT
public static final int ERROR_READ
public static final int TIMEOUT
public static final int ERROR_SELECT
public int resultCode
public long handle
public int errorCode
public int byteCount
public boolean server
A value of true indicates that whoever is using the FIFO is the server. A value of false means that the user is not the server.
This is only relevant for the Windows platform, where a different system call must be used depending on whether this is the client or the server.
public long syncObject
Constructor Detail |
---|
public FIFOResult()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |