Re: About BEEP output and input stream

"Huston" <[email protected]> Tue, 6 Aug 2002 17:08:34 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
> It uses the message reply object to get the input stream. That
> means we have to send a message and
> wait for the response. This is not what I want. What I need are two
> independent threads: one for
> listening to the port/messages and one for sending out the message through
> the port. Is there any way to
> have an independent InputStream? Thanks.

You should be able to do what you want by providing your own implementation
of the ReplyListener interface. The Reply class is just a simple
implementation of this interface for people who prefer to deal with things
in a synchronous manner.

--Huston




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf