All Packages Class Hierarchy This Package Previous Next Index

Interface jdce.util.message.jdceMessageQueueOperations
- public interface jdceMessageQueueOperations
Message Queue Operations
- Version:
- 0.5 20 April 1998
- Author:
- Shrideep Pallickara

-
addItem(Object)
- Adds an Item to the message Queue
-
dataAvailable()
- Report the availability of data on the Message Queue
-
elements()
- Return an enumeration of all the Widgets in the message queue
-
nextItem()
- Get the next Item from the message Queue
-
peekItem()
- Returns the head of the jdceMessageQueue
-
queueSize()
- Query the queue Size, corresponds to the number of messages unprocessed
in the messageQueue.
-
removeAllItems()
- Removes all Widgets from the message Queue.
-
removeItem(Object)
- Removes an Item from the message Queue.
-
toString()
- Convert the entire MessageQueue into a String
addItem
public abstract void addItem(Object object)
- Adds an Item to the message Queue
- Parameters:
- obj - The message to be added to the Message Queue, this could be
either a jdceMessage type or any Object Type
- See Also:
- jdceMessage, removeItem
nextItem
public abstract Object nextItem()
- Get the next Item from the message Queue
- Returns:
- object The next messageWidget in the MessageQueue.
- See Also:
- jdceMessage, removeAllItems, addItem
removeItem
public abstract Object removeItem(Object _object)
- Removes an Item from the message Queue. This corresponds to the Object
used as the parameter.
- Parameters:
- obj - The message to be removed from the Message Queue, this could be
either a jdceMessage type or any Object Type
- See Also:
- jdceMessage, removeAllItems, addItem
removeAllItems
public abstract void removeAllItems()
- Removes all Widgets from the message Queue.
This corresponds to the Object used as the parameter.
- Parameters:
- obj - The message to be removed from the Message Queue, this could be
either a jdceMessage type or any Object Type
- See Also:
- jdceMessage, nextItem, addItem
peekItem
public abstract Object peekItem()
- Returns the head of the jdceMessageQueue
- See Also:
- nextItem, addItem
dataAvailable
public abstract boolean dataAvailable()
- Report the availability of data on the Message Queue
- Returns:
- true If there is data available
queueSize
public abstract int queueSize()
- Query the queue Size, corresponds to the number of messages unprocessed
in the messageQueue.
- Returns:
- size the Message Queue length
- See Also:
- dataAvailable
elements
public abstract Enumeration elements()
- Return an enumeration of all the Widgets in the message queue
- Returns:
- enum The jdceQueueEnumerator
toString
public abstract String toString()
- Convert the entire MessageQueue into a String
- Returns:
- string The String Representation of all the Widgets in the Queue
- Overrides:
- toString in class Object

All Packages Class Hierarchy This Package Previous Next Index