some questions about BEEP
"Russell Hung" <[email protected]> Thu, 15 Aug 2002 17:03:10 -0700
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <D0720E03FE8450489330A332BDB17643057E6D@exchange.visionsolutions.com> |
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]
Leaves Bkgrd.jpg
(image/jpeg, 4.3 KB) - not displayed