|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.device.NotificationQueue
public class NotificationQueue
The InformationQueue class provides a queue of information objects.
| Field Summary | |
|---|---|
protected java.lang.Object[] |
elementsData
Define the elementsData (Object[]) field. |
protected java.lang.Object[] |
elementsTopic
Define the elements topic (Object[]) field. |
(package private) int |
length
Define the length (int) field. |
| Constructor Summary | |
|---|---|
NotificationQueue()
Constructs a standard BaseNotification object. |
|
NotificationQueue(int size)
Constructs an instance of this class from the specified size parameter. |
|
| Method Summary | |
|---|---|
void |
broadcast(java.lang.String topic,
java.util.Dictionary data)
Broadcast with the specified topic and data parameters. |
void |
clear()
Clear. |
void |
dequeue(long time,
java.lang.Object[] object)
Dequeue with the specified time and object parameters. |
void |
enqueue(java.lang.String topic,
java.lang.Object data)
Enqueue with the specified topic and data parameters. |
int |
getMaxSize()
Gets the maximum size of the queue. |
void |
handleFull()
Handle full. |
int |
size()
Gets the size of the current elementsData on the queue. |
java.lang.String |
toString()
Returns the string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object[] elementsData
protected java.lang.Object[] elementsTopic
int length
| Constructor Detail |
|---|
public NotificationQueue()
BaseNotification object.
NotificationQueue(int)public NotificationQueue(int size)
size - The size (int) parameter.NotificationQueue()| Method Detail |
|---|
public void broadcast(java.lang.String topic,
java.util.Dictionary data)
topic - The topic (String) parameter.data - The data (Dictionary) parameter.public void clear()
public void dequeue(long time,
java.lang.Object[] object)
time - The time (long) parameter.object - The object (Object[]) parameter.
public void enqueue(java.lang.String topic,
java.lang.Object data)
topic - The topic (String) parameter.data - The data (Object) parameter.public int getMaxSize()
int) value.public void handleFull()
public int size()
public java.lang.String toString()
toString in class java.lang.ObjectString) value.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||