com.ibm.as400.access

Class MessageQueue

    • Field Detail

      • COPY

        public static final String COPY
        Constant referring to the sender's copy of a previously sent inquiry message.
        See Also:
        Constant Field Values
      • KEEP_UNANSWERED

        public static final String KEEP_UNANSWERED
        Constant referring to all messages in the message queue except unanswered inquiry and unanswered senders' copy messages.
        See Also:
        Constant Field Values
      • MESSAGES_NEED_REPLY

        public static final String MESSAGES_NEED_REPLY
        Constant referring to messages that need a reply.
        See Also:
        Constant Field Values
      • MESSAGES_NO_NEED_REPLY

        public static final String MESSAGES_NO_NEED_REPLY
        Constant referring to messages that do not need a reply.
        See Also:
        Constant Field Values
      • NEW

        public static final String NEW
        Constant referring to all new messages in the message queue. New messages are those that have not been received.
        See Also:
        Constant Field Values
      • NEWEST

        public static final byte[] NEWEST
        Constant referring to the message key for the newest message in the queue.
      • OLD

        public static final String OLD
        Constant referring to all old messages in the message queue. Old messages are those that have already been received.
        See Also:
        Constant Field Values
      • OLDEST

        public static final byte[] OLDEST
        Constant referring to the message key for the oldest message in the queue.
      • PREVIOUS

        public static final String PREVIOUS
        Constant referring to the previous message in the message queue.
        See Also:
        Constant Field Values
      • REMOVE

        public static final String REMOVE
        Constant indicating that the message should be removed from the message queue.
        See Also:
        Constant Field Values
      • SAME

        public static final String SAME
        Constant indicating that the message should remain in the message queue without changing its new or old designation.
        See Also:
        Constant Field Values
      • SENDERS_COPY_NEED_REPLY

        public static final String SENDERS_COPY_NEED_REPLY
        Constant referring to the sender's copies of messages that need replies.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageQueue

        public MessageQueue(AS400 system)
        Constructs a MessageQueue object. The message queue path defaults to CURRENT.
        Parameters:
        system - The system object representing the system on which the message queue exists.
        See Also:
        setPath(java.lang.String)
      • MessageQueue

        public MessageQueue(AS400 system,
                    String path)
        Constructs a MessageQueue object.
        Parameters:
        system - The system object representing the system on which the message queue exists.
        path - The fully qualified integrated file system path name of the message queue, or CURRENT to refer to the user's default message queue.