Re: Re: [JXTA discuss] Jxta Impl howto
<[email protected]> Tue, 20 Sep 2005 17:57:27 -0400
| Newsgroups | gmane.comp.java.jxta.general |
|---|---|
| Message-ID | <20050920215727.XSFV10334.ibm62aec.bellsouth.net@mail.bellsouth.net> |
Thank you for your response. The spec you linked to is a worthy guide to any jxta binding, and by its guiding light, I have done rather well so far. But I have hit upon a snag. I have been working on a tcp transport. I believe that I have the welcome signal working, but I am not sure how to proceed with the messages. This is how the spec describes a message <PACKAGE> ::= <HEADERBLOCK> <BODY> <HEADERBLOCK> ::= (<HEADER>)* <EMPTYHEADER> <HEADER> ::= <HEADERNAME> <HEADERBODY> <HEADERNAME> ::= octet [length] (octets)[length] <HEADERBODY> ::= octet [length msb] octet [length lsb] (octets) [length] <EMPTYHEADER> ::= octet #x00 <BODY> ::= octets I think I understand most of this, but I don't know what an octet means in this context. I'm sure that sounds dumb; my only defence is that I started out programming java, and you really don't see a lot of octets in java. I tried to look through the j2 se implementation to find out how it formated a message, but the actual work was strewn across many, many classes. Would some, generous, person, please explain what an octet is, and how to form a tcp message. Thanks, Alex > > From: "Mike [bondolo] Duigou" <[email protected]> > Date: 2005/09/19 Mon AM 11:18:09 EDT> To: [email protected]> Subject: Re: [JXTA discuss] Jxta Impl howto> > The first place to start is with the JXTA Specification, > > http://spec.jxta.org/nonav/v1.0/docbook/JXTAProtocols.html > > This should provide the basis for any implementation. If there > additional details which require clarification the next best place is to > look at any of the three existing reference implementations; they are > all interoperable and provide complete implementations of the protocols. > > Certainly feel free to ask any question using these mailing lists as well. > > Mike > > [email protected] wrote: > > Hello, > > > > I am investigating creating a new jxta implementation (I will omit the subject language for the moment). Is there any outline or howto that discusses the steps that need be taken to implement the jxta core services? > > > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected]> For additional commands, e-mail: [email protected]> >