src.com.ibm.as400.access.UserQueueImpl Maven / Gradle / Ivy
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: UserQueue.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2010-2010 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
/**
The UserQueueImp class provides the implementation interface for an IBM i user queue object.
**/
interface UserQueueImpl {
public int create(byte[] objectNameBytes, byte[] extendedAttributeBytes,
byte queueType, int keyLength, int dataSize, int initialNumberOfMessages,
int additionNumberOfMessages, byte[] publicAuthorityBytes,
byte[] descriptionBytes, byte[] replaceBytes);
public int enqueue(int handle, byte[] enqMsgPrefix, byte[] value);
public int dequeue(int handle, byte[] deqMsgPrefix, byte[] outputBuffer);
public int delete(int handle, byte[] objectNameBytes);
public int open(byte[] objectNameBytes);
public int close(int handle);
public int getAttributes(int handle, byte[] outputBytes);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy