public class PacketArrivedEvent
extends java.util.EventObject
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| Modifier and Type | Method and Description |
|---|---|
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.
|
public int getPktType()
public java.lang.Object getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObjectJ/Link is Copyright (c) 1999-2012, Wolfram Research, Inc. All rights reserved.