|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.scripting.external.buffer.NetworkEventQueue
public class NetworkEventQueue
NetworkEventQueue is a modified version of ExternalEventQueue from eai.buffer which which differs mainly in that it does not have an external view to synchronize with.
| Field Summary | |
|---|---|
protected ErrorReporter |
errorReporter
The ErrorReporter to send messages to |
java.lang.Object |
eventLock
External lock for the event list. |
| Constructor Summary | |
|---|---|
NetworkEventQueue(ErrorReporter reporter)
Basic constructor. |
|
| Method Summary | |
|---|---|
void |
beginUpdate()
Start queueing updates. |
void |
endUpdate()
End queueing of updates, and send the current set to be processed. |
ExternalEvent |
getLast(ExternalEvent type)
Return the ExternalEvent which is equal to the sent type. |
void |
processEvent(ExternalEvent event)
Process an addition to the event queue. |
void |
processEvents()
Process all waiting events. |
void |
setErrorReporter(ErrorReporter reporter)
Change the ErrorReporter this instance is using |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Object eventLock
protected ErrorReporter errorReporter
| Constructor Detail |
|---|
public NetworkEventQueue(ErrorReporter reporter)
reporter - The ErrorReporter to use.| Method Detail |
|---|
public void beginUpdate()
public void endUpdate()
public ExternalEvent getLast(ExternalEvent type)
public void processEvent(ExternalEvent event)
public void processEvents()
processEvents in interface ExternalViewExternalView.processEvents()public void setErrorReporter(ErrorReporter reporter)
setErrorReporter in interface ExternalViewreporter - The instance to use or nullExternalView.setErrorReporter(org.web3d.util.ErrorReporter)
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||