PacketHandler Delegate
Represents the method that will handle the PacketArrived event.
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
public delegate bool PacketHandler(
IKernelLink ml,
PacketType pkt
)
Public Delegate Function PacketHandler (
ml As IKernelLink,
pkt As PacketType
) As Boolean
public delegate bool PacketHandler(
IKernelLink^ ml,
PacketType pkt
)
type PacketHandler =
delegate of
ml : IKernelLink *
pkt : PacketType -> bool
- ml IKernelLink
- The link on which the packet arrived.
- pkt PacketType
- The type of packet.
BooleanYou should always return true.
See the discussion for the
PacketArrived event for more information.