Re: Help I'm drowning

"Huston" <[email protected]> Thu, 28 Nov 2002 09:38:43 -0700
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <002201c296fc$9dacfcc0$0201000a@gummy>
Sean,

- What is the role of profiles?

A profile in the protocol sense is a description of the communication on a
particular channel. A profile with respect to the library is the code that
implements the communication on a particular channel.

- Once I have got a session up how do I make a connection from the Server to
the Client (implementing peer-to-peer)?

BEEP is bi-directional (peer-to-peer) so if you have a connection from the
Client (Initiator) to the Server (Listener) then either side can start a
channel as long as the other is advertising the requested profile.

- When a message is sent to the server, how does the server recieve the
message? I am guessing that it has to do with the profile, is that correct?

MSG messages are received by registering a MessageListener interface on a
channel.

--Huston



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en