🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19493

Understanding synchronous vs. asynch events

#19493
From: Mark Hunter
Date: Thu, 29 Jan 1998 00:00
21 lines
1441 bytes
I come from a Windows development environment, and I'm fairly new to
Java. I'm trying to understand how the Windows "post message" and "send
message" operations would translate to Java events.

I've used the JBuilder class EventMulticaster successfully. Seems like
that is similar to sending a message in Windows, since sending is
synchronous and waits for a return value from the target of the message.

But it's also common in Windows to post a message, in situations where
you don't want to step in front of other important messages that may
already be in the message queue. Or you deliberately want a slight
asynchronous delay in delivery of the message, so that you can stick it
at the end of the queue and still continue processing your code block.
That's what I don't know how to do in Java. In fact, it seems to be real
hard to put anything into Java's event queue. 

Does anyone have any conceptual advice for me?

Thanks,
Mark Hunter
Technical Details
Message-ID: <34D11663.2904@sprintmail.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,570c8b5bf8dc08d,start
X-Google-Attributes: gidf74b3,public
From: Mark Hunter <mhunter@sprintmail.com>
Subject: Understanding synchronous vs. asynch events
Date: 1998/01/29
Message-ID: <34D11663.2904@sprintmail.com>
X-Deja-AN: 320414821
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language