IKernelLinkOnPacketArrived Method
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
bool OnPacketArrived(
PacketType pkt
)
Function OnPacketArrived (
pkt As PacketType
) As Boolean
bool OnPacketArrived(
PacketType pkt
)
abstract OnPacketArrived :
pkt : PacketType -> bool
- pkt PacketType
- The packet type that has just arrived.
BooleanWhether to continue processing the packet.
Very few programmers will call this directly. It is normally called by the internal packet loop that
.NET/Link runs when you call WaitForAnswer, WaitAndDiscardAnswer, or one of the "EvaluateTo" methods.
Programmers who for some reason choose to write their own packet loop must call this method to raise
the
PacketArrived event so that delegates attached to that event can be notified.
See the example for HandlePacket(PacketType).