|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.wolfram.jlink.PacketArrivedEvent
public class PacketArrivedEvent
The event type that is sent to PacketListeners to notify them that a packet has arrived on the link.
PacketArrivedEvents are sent by the KernelLink methods that run internal packet loops, reading and perhaps discarding packets. These methods are: waitForAnswer(), discardAnswer(), evaluateToInputForm(), evaluateToOutputForm(), evaluateToImage(), and evaluateToTypeset().
PacketListener,
KernelLink,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Method Summary | |
|---|---|
int |
getPktType()
Gives the type of packet that has arrived. |
java.lang.Object |
getSource()
Gives the link on which the packet has arrived. |
java.lang.String |
toString()
Gives a readable string describing the packet type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getPktType()
public java.lang.Object getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||