com.ibm.cics.server
Class TDQ
java.lang.Object
|
+--com.ibm.cics.server.API
|
+--com.ibm.cics.server.Resource
|
+--com.ibm.cics.server.RemotableResource
|
+--com.ibm.cics.server.TDQ
- public class TDQ
- extends RemotableResource
- implements java.io.Serializable
This class provides an implementation of a Transient Data Queue.
Constructor Summary |
TDQ()
Construct a TDQ Object |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TDQ
public TDQ()
- Construct a TDQ Object
delete
public void delete()
throws IOErrorException,
ISCInvalidRequestException,
NotAuthorisedException,
InvalidQueueIdException,
InvalidSystemIdException
- Delete the TDQ
readData
public void readData(DataHolder holder)
throws IOErrorException,
ISCInvalidRequestException,
LengthErrorException,
NotAuthorisedException,
NotOpenException,
InvalidQueueIdException,
QueueZeroException,
InvalidSystemIdException
- Read data from a TDQ.
If the queue is being used for output, the current task will be
suspended.
readDataConditional
public void readDataConditional(DataHolder holder)
throws IOErrorException,
ISCInvalidRequestException,
LengthErrorException,
NotAuthorisedException,
NotOpenException,
InvalidQueueIdException,
QueueBusyException,
QueueZeroException,
InvalidSystemIdException
- Read data from a TDQ.
If the queue is being used for output, a
QueueBusyException
is thrown.
writeData
public void writeData(byte[] data)
throws IOErrorException,
ISCInvalidRequestException,
LengthErrorException,
NoSpaceException,
NotAuthorisedException,
NotOpenException,
InvalidSystemIdException
- Write data to a TDQ.
- Parameters:
data
- The data to write to the TD Queue.
Copyright (c) 2002 by Sun Microsystems, Inc.