Re: [Beepcore-java-users] About BEEP output and input stream
Status: Beta
Brought to you by:
huston
From: Huston <hu...@us...> - 2002-08-06 23:09:12
|
> 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 |