Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Urgent Message Link --- Sample J/Link Projects

  • To: mathgroup at
  • Subject: [mg28680] Urgent Message Link --- Sample J/Link Projects
  • From: "Junzo Sato" <jsato at>
  • Date: Tue, 8 May 2001 02:51:16 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Dear J/Link programmers in MathGroup,

I'm now trying to understand how an urgent message link for a mathlink is
treated in J/Link.
But it seems something different with c/c++ programming.
Will you try my jlinkprograms to see what's wrong with messageReady(),
getMessage(), and putMessage() or 
a custom message handler used by addMessageHandler() ?
Java source code and CW6 projects are available at my web site.

To extract the archive on Mac/Win, the StuffIt Expander from is required.

Three programs I wrote in java are as follows.

[1] MyKernelLinker
This application is based on Todd's JLinkUserGuide Part2.
It launches MathKernel.
Putting message MathLink.MLABORTMESSAGE does work.

[2] JavaSnooper
This applications relays packets between mathematica frontend and math
It can't pass abort message.

[3] MathLinkTerminal
This application uses only the class MathLink.
Only one method put(String str) is used to send a string like a chat
Urgent message is not detected.

Thank you for your help :-)

Junzo SATO
Email: jsato at

Department Of Medical Information Technology
Kumamoto University Hospital
University Of Kumamoto

1-1-1 Honjo, Kumamoto City,
Kumamoto, 860-8556, JAPAN

  • Prev by Date: ScatterPlot3D/Plot3D
  • Next by Date: Re: Interior of a polygon
  • Previous by thread: Re: 2 questions about bitmap images
  • Next by thread: Re: Urgent Message Link --- Sample J/Link Projects