Re: [Beepcore-java-users] some questions about BEEP
Status: Beta
Brought to you by:
huston
From: William J. M. <wm...@ol...> - 2002-08-16 01:27:21
|
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 > rh...@vi... > |