Bridges > Java Export Bridge > Appendix - IDL Java Object API > JIDLConst

# JIDLConst

## Declaration

public class JIDLConst

java.lang.Object

|

+--com.idl.javaidl.JIDLConst

## Description

Contains constants used by the Java-IDL wrapper classes.

### Member Summary

#### Fields

##### static int

CONTROL_INPROC

Control flag for determining object is to be created in-process

##### static int

CONTROL_OUTPROC

Control flag for determining object is to be created out-of-process

##### static int

IDL_ABORT_NOT_OWNER

Error code when an abort request is made, but the calling object does not have permission to request the abort.

##### static java.lang.String

IDL_ABORT_NOT_OWNER_MESSAGE

Internal use.

##### static int

IDL_ABORTED

Error code returned when IDL processing has aborted due to an abort request.

##### static int

IDL_BUSY

Error code returned if IDL is called while processing another request.

##### static int

IDL_NOTHING_TO_ABORT

Error code when an abort request is made, but there is nothing to abort.

##### static java.lang.String

IDL_NOTHING_TO_ABORT_MESSAGE

Internal use.

##### static int

PARMFLAG_CONST

Parameter associated with this flag and passed to IDL is const (in-only).

##### static int

PARMFLAG_CONVMAJORITY

Parameter associated with this flag and passed to IDL is an array whose majority will be convolved.

##### static int

PARMFLAG_IN_OUT

Parameter associated with this flag and passed to IDL is in-out (mutable).

##### static int

PARMFLAG_NO_CONVMAJORITY

Parameter associated with this flag and passed to IDL is an array whose majority will NOT be convolved.

### Inherited Member Summary

#### Methods inherited from class Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(long, int), wait(long, int), wait(long, int)

## Fields

### CONTROL_INPROC

public static final int CONTROL_INPROC

Control flag for determining object is to be created in-process

### CONTROL_OUTPROC

public static final int CONTROL_OUTPROC

Control flag for determining object is to be created out-of-process

### IDL_ABORT_NOT_OWNER

public static final int IDL_ABORT_NOT_OWNER

Error code when an abort request is made, but the calling object does not have permission to request the abort.

Note: When this error occurs, a JIDLException is thrown to the calling client with this value as its error code.

#### See Also:

JIDLException, JIDLObjectI.abort()

### IDL_ABORT_NOT_OWNER_MESSAGE

public static final java.lang.String IDL_ABORT_NOT_OWNER_MESSAGE

Internal use. Error message when an abort request is made, but the calling object does not have permission to request the abort.

### IDL_ABORTED

public static final int IDL_ABORTED

Error code returned when IDL processing has aborted due to an abort request.

Note: When this error occurs, a JIDLAbortedException is thrown to the calling client with this value as its error code.

#### See Also:

JIDLAbortedException, JIDLException, JIDLObjectI.abort()

### IDL_BUSY

public static final int IDL_BUSY

Error code returned if IDL is called while processing another request.

Note: When this error occurs, a JIDLBusyException is thrown to the calling client with this value as its error code.

#### See Also:

JIDLBusyException, JIDLException, JIDLObjectI.abort()

### IDL_NOTHING_TO_ABORT

public static final int IDL_NOTHING_TO_ABORT

Error code when an abort request is made, but there is nothing to abort.

Note: When this error occurs, a JIDLException is thrown to the calling client with this value as its error code.

#### See Also:

JIDLException, JIDLObjectI.abort()

### IDL_NOTHING_TO_ABORT_MESSAGE

public static final java.lang.String IDL_NOTHING_TO_ABORT_MESSAGE

Internal use. Error message when an abort request is made, but there is nothing to abort.

### PARMFLAG_CONST

public static final int PARMFLAG_CONST

Parameter associated with this flag and passed to IDL is const (in-only). It is expected IDL will not change this parameter. Any changes that happened in IDL will be ignored.

#### See Also:

PARMFLAG_IN_OUT

### PARMFLAG_CONVMAJORITY

public static final int PARMFLAG_CONVMAJORITY

Parameter associated with this flag and passed to IDL is an array whose majority will be convolved.

Note: If set, the array will be convolved when passed from Java to IDL, and convolved again in the in-out case, when passed back to Java.

#### See Also:

PARMFLAG_NO_CONVMAJORITY

### PARMFLAG_IN_OUT

public static final int PARMFLAG_IN_OUT

Parameter associated with this flag and passed to IDL is in-out (mutable). It is expected IDL may change this parameter and on return from IDL the data will be copied back to the Java object.

#### See Also:

PARMFLAG_CONST

### PARMFLAG_NO_CONVMAJORITY

public static final int PARMFLAG_NO_CONVMAJORITY

Parameter associated with this flag and passed to IDL is an array whose majority will NOT be convolved.

Note: For arrays of dimensions 2 throught 8, this may be quicker than PARMFLAG_CONVMAJORITY because the array doesn’t need to be re-ordered when passed between Java and IDL memory space.

#### See Also:

PARMFLAG_CONVMAJORITY