|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.EventTask
private final class RegistrarImpl.EventTask
An event to be sent, and the listener to send it to.
Field Summary | |
---|---|
Item |
item
The new state of the item, or null if deleted |
RegistrarImpl.EventReg |
reg
The event registration |
long |
seqNo
The sequence number of this event |
ServiceID |
sid
The service id |
int |
transition
The transition that fired |
Constructor Summary | |
---|---|
RegistrarImpl.EventTask(RegistrarImpl.EventReg reg,
ServiceID sid,
Item item,
int transition)
Simple constructor, except increments reg.seqNo. |
Method Summary | |
---|---|
void |
run()
Send the event |
boolean |
runAfter(List tasks,
int size)
Keep events going to the same listener ordered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final RegistrarImpl.EventReg reg
public final long seqNo
public final ServiceID sid
public final Item item
public final int transition
Constructor Detail |
---|
public RegistrarImpl.EventTask(RegistrarImpl.EventReg reg, ServiceID sid, Item item, int transition)
Method Detail |
---|
public void run()
run
in interface Runnable
public boolean runAfter(List tasks, int size)
runAfter
in interface TaskManager.Task
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be considered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |