|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.safmq.Safmq
public class Safmq
Defines constants for use in the com.safmq
package.
Field Summary | |
---|---|
static byte |
BT_BINARY
Body is binary |
static byte |
BT_CHAR
Body contains a single char (byte) |
static byte |
BT_LONG
Body contains a single "int" integer |
static byte |
BT_NONE
No body typeing. |
static byte |
BT_SHORT
Body contains a single "short" integer |
static byte |
BT_TEXT
Body contains text (single byte characters) |
static byte |
BT_WTEXT
Body contains text (wide characters) |
static int |
EC_ALREADYCLOSED
Resource has already been closed |
static int |
EC_ALREADYDEFINED
Named resource already exists with the same name |
static int |
EC_ALREADYOPEN
|
static int |
EC_CANNOTCHANGEGROUP
User cannot change group permissions |
static int |
EC_CANNOTCHANGEUSER
User cannot change user permissions |
static int |
EC_CURSORINVALIDATED
The cursor has become invalid |
static int |
EC_DOESNOTEXIST
Resource does not exist. |
static int |
EC_DUPLICATEMSGID
The message id supplied is a duplicate of another message ID |
static int |
EC_ERROR
Unknow error has occured. |
static int |
EC_FILESYSTEMERROR
A file system error has occured |
static int |
EC_FORWARDNOTALLOWED
System does not allow message forwarding (relaying) |
static int |
EC_INVALIDNAME
Name supplied is invalid |
static int |
EC_NETWORKERROR
A network error has occured |
static int |
EC_NOERROR
No error occurd. |
static int |
EC_NOMOREMESSAGES
No more messages are available. |
static int |
EC_NOTAUTHORIZED
User not authorized to perform operation. |
static int |
EC_NOTIMPLEMENTED
Request not implemented |
static int |
EC_NOTLOGGEDIN
The user is not logged into the SAFMQ server |
static int |
EC_NOTOPEN
Resource is not currently open. |
static int |
EC_QUEUEOPEN
Could not delete queue, it is currently in use |
static int |
EC_SERVERUNAVAIL
The server is unavilable |
static int |
EC_TIMEDOUT
Operation timed out. |
static int |
EC_TTLEXPIRED
The message's TTL has expired |
static int |
EC_UNSUPPORTED_PROTOCOL
Wrong Protocol Version |
static int |
EC_WRONGMESSAGETYPE
Wronge type for message |
static int |
MC_SYSTEMERRMSG
System generated messages |
static int |
MC_USERMSG
User generated messges (all messages not system generated) |
static byte |
MP_HIGH
Messages with high priority. |
static byte |
MP_HIGHEST
Messages with higest priority. |
static byte |
MP_LOW
Messages with low priority, same as standard priority. |
static byte |
MP_MEDIUM
Messages with medium priority. |
static byte |
MP_MEDIUMHIGH
Messages with medium-high priority. |
static byte |
MP_MEDIUMLOW
Messages with medium-low priority. |
static byte |
MP_STANDARD
Messages with standard priority. |
static int |
SAFMQ_PROTOCOL_MAJOR_VERSION
The Current SAFMQ Protocol Major Version. |
static int |
SAFMQ_PROTOCOL_MINOR_VERSION
The Current SAFMQ Protocol Minor Version. |
static int |
SIZE_INT
The size of an int basic type |
static int |
SIZE_SHORT
The size of a short basic type |
Constructor Summary | |
---|---|
Safmq()
|
Method Summary | |
---|---|
static java.lang.String |
ecDecode(int error)
|
static java.lang.String |
errorDecode(int error)
This method provides a textual description of an error code generated by SAFMQ. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SAFMQ_PROTOCOL_MAJOR_VERSION
public static final int SAFMQ_PROTOCOL_MINOR_VERSION
public static final int SIZE_INT
public static final int SIZE_SHORT
public static final int MC_SYSTEMERRMSG
public static final int MC_USERMSG
public static final byte BT_LONG
public static final byte BT_SHORT
public static final byte BT_CHAR
public static final byte BT_TEXT
public static final byte BT_WTEXT
public static final byte BT_BINARY
public static final byte BT_NONE
public static final byte MP_STANDARD
public static final byte MP_LOW
public static final byte MP_MEDIUMLOW
public static final byte MP_MEDIUM
public static final byte MP_MEDIUMHIGH
public static final byte MP_HIGH
public static final byte MP_HIGHEST
public static final int EC_NOERROR
public static final int EC_TIMEDOUT
public static final int EC_NOTAUTHORIZED
public static final int EC_ALREADYCLOSED
public static final int EC_DOESNOTEXIST
public static final int EC_NOTOPEN
public static final int EC_NETWORKERROR
public static final int EC_TTLEXPIRED
public static final int EC_CURSORINVALIDATED
public static final int EC_DUPLICATEMSGID
public static final int EC_SERVERUNAVAIL
public static final int EC_NOMOREMESSAGES
public static final int EC_FILESYSTEMERROR
public static final int EC_CANNOTCHANGEGROUP
public static final int EC_CANNOTCHANGEUSER
public static final int EC_ALREADYDEFINED
public static final int EC_NOTIMPLEMENTED
public static final int EC_QUEUEOPEN
public static final int EC_NOTLOGGEDIN
public static final int EC_INVALIDNAME
public static final int EC_FORWARDNOTALLOWED
public static final int EC_WRONGMESSAGETYPE
public static final int EC_UNSUPPORTED_PROTOCOL
public static final int EC_ALREADYOPEN
public static final int EC_ERROR
Constructor Detail |
---|
public Safmq()
Method Detail |
---|
public static java.lang.String ecDecode(int error)
public static final java.lang.String errorDecode(int error)
error
- The error code retrieved from a call to an MQConnection method
|
Copyright Matthew J. Battey, 2004-2010; Powered By: |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |