Re: some questions about BEEP

"William J. Mills" <[email protected]> Thu, 15 Aug 2002 20:27:17 -0500
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
Well, I might punt to Huston, but it *should* work.  It looks to me like you
are doing the right thing.

Once the session is set up, it's peer to peer, so anything you register/advertise
in your greeting the other end is supposed to be able to send a start for.

-bill


On Thu, Aug 15, 2002 at 05:03:10PM -0700, Russell Hung wrote:
> Hi, 
>  
> Two questions:
>  
> 1. Can the BEEP client start the channel listener? 
>     After the client register a channel listener, the client would have
> a connection with it's server using:
>         Session session = AutomatedTCPSessionCreator.init(host,
> listenPort, profileRegistry);
>    
> 2. Can the "session" on the BEEP server initiate a channel when the
> client has a channel listener?
>         Session session = AutomatedTCPSessionCreator.listen(listenPort,
> profileRegistry);
>     then, use the session returned from "listen":
>         Channel channel = session.startChannel(EchoProfile.Echo_URI);
>  
> I didn't see any BEEP examples did that, and I cannot make it work. 
>  
> Thanks for your help,  
>  
> Russell Hung
> [email protected]
> 




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390