Greg Weber | 2 Aug 2002 21:43
Picon
Favicon

Re: Channel response serialization


Would it be possible to use this beep extension mechanism
to negotiate the ability to send one-way messages (messages
that do not have any replies)?

Greg  [new to beep...]

> 
> > OK. I don't want to rat-hole on this so: do I understand correctly that
> you
> > are proposing to amend the RFC to make serialization on a channel
> optional?
> 
> no. what i'm proposing is that we use beep's extension mechanism (called
> "features") and write a new document that talks defines a feature that
> removes the same-order property. rfc3080 doesn't change. presumably a new
> rfc gets published that describes how something implementing rfc3080 can
> also say that it does the new thing too.
> 
> /mtr
> 
> 
> _______________________________________________
> BEEPwg mailing list
> BEEPwg <at> lists.beepcore.org
> http://lists.beepcore.org/mailman/listinfo/beepwg
> 
Jered Floyd | 2 Aug 2002 22:28
Favicon

Re: Channel response serialization

Greg Weber <gdweber <at> cisco.com> writes:

> Would it be possible to use this beep extension mechanism
> to negotiate the ability to send one-way messages (messages
> that do not have any replies)?

Certainly.  Is there some situation when this would be significantly
better than MSG/NUL exchanges for you?

--Jered
Greg Weber | 2 Aug 2002 22:57
Picon
Favicon

Re: Channel response serialization

> 
> Greg Weber <gdweber <at> cisco.com> writes:
> 
> > Would it be possible to use this beep extension mechanism
> > to negotiate the ability to send one-way messages (messages
> > that do not have any replies)?
> 
> Certainly.  Is there some situation when this would be significantly
> better than MSG/NUL exchanges for you?

I was thinking of performance/traffic.  Lack of support for
one-way messages despite reliable transport seems to be often 
cited in support of work similar to beep, e.g.
  draft-hessing-p2p-messaging-00.txt.

Greg

> 
> --Jered
> 
> 
james woodyatt | 2 Aug 2002 23:13

Re: Channel response serialization

On Friday, Aug 2, 2002, at 13:57 US/Pacific, Greg Weber wrote:
>
> I was thinking of performance/traffic.  Lack of support for
> one-way messages despite reliable transport seems to be often
> cited in support of work similar to beep, e.g.
>   draft-hessing-p2p-messaging-00.txt.

Here's my hipshot response to concerns about network overhead in BEEP: 
we want tuning profiles for compression protocols.  I can imagine a 
compression protocol that squeezes a lot of bytes out of the BEEP 
header and trailer, as well as shaving some off the encodings of the 
management profile messages.

Since I don't have a deep compelling need to see such protocols 
deployed, I'm not agitating loudly to contribute to their drafting.  
You want to do that?  Go for it.  I will wait for you here.

--james
Russell Hung | 6 Aug 2002 20:44
Favicon

About beep output and input stream

Hi,
 
I have a question about the input and output stream of BEEP. I read the example on the book, "BEEP", written by Dr. Marshall T. Rose and published by O'Reilly. There is a client example on page 52:
 
try {
    channel.sendMSG(new StringOutputDataStream(request), reply);
} catch { ....}
 
InputDataStream ds = reply.getNextReply().getDataStream();
InputStream is = ds.getInputStream();
 
while(is.read() != -1) {
    ++replyLength;
}
 
It uses the message reply object to get the input stream. That means we have to send a message and wait for the response. This is not what I want. What I need are two independent threads: one for listening to the port/messages and one for sending out the message through the port. Is there any way to have an independent InputStream? Thanks.
 
Best Regards,
 
Russell Hung
 
Marshall Rose | 6 Aug 2002 21:52
Picon
Picon

Re: About beep output and input stream

hi. please send your note to beepcore-java-users <at> lists.sourceforge.net... and maybe someone there can answer it.
 
/mtr
----- Original Message -----
Sent: Tuesday, August 06, 2002 11:44 AM
Subject: [BEEPwg] About beep output and input stream

Hi,
 
I have a question about the input and output stream of BEEP. I read the example on the book, "BEEP", written by Dr. Marshall T. Rose and published by O'Reilly. There is a client example on page 52:
 
try {
    channel.sendMSG(new StringOutputDataStream(request), reply);
} catch { ....}
 
InputDataStream ds = reply.getNextReply().getDataStream();
InputStream is = ds.getInputStream();
 
while(is.read() != -1) {
    ++replyLength;
}
 
It uses the message reply object to get the input stream. That means we have to send a message and wait for the response. This is not what I want. What I need are two independent threads: one for listening to the port/messages and one for sending out the message through the port. Is there any way to have an independent InputStream? Thanks.
 
Best Regards,
 
Russell Hung
 
Eamon O'Tuathail | 9 Aug 2002 21:31

Liberty Alliance / SAML and BEEP


Is anyone looking into the use of the Liberty Alliance / SAML work with
BEEP sessions?
Bob Wyman | 14 Aug 2002 17:23

4K Limit to Profile element length

Forgive me for a very simple question:
RFC3080 says at "2.3.1.2 The Start Message" that: "the content of the
"profile" element, if present, must be no longer than 4K octets in
length".
	The question is: If the content of the profile element is
encoded (Base64), then does the length restriction apply to the encoded
form of the content or to the result after decoding? i.e. if encoding
causes the size of the data to grow, does that matter?

		bob wyman
Huston | 14 Aug 2002 17:48
Picon

Re: 4K Limit to Profile element length

I took it to mean 4k after encoding because that coincides with the default
window size.

--Huston

----- Original Message -----
From: "Bob Wyman" <bobwyman <at> firstrain.com>
To: <beepwg <at> lists.beepcore.org>
Sent: Wednesday, August 14, 2002 9:23 AM
Subject: [BEEPwg] 4K Limit to Profile element length

> Forgive me for a very simple question:
> RFC3080 says at "2.3.1.2 The Start Message" that: "the content of the
> "profile" element, if present, must be no longer than 4K octets in
> length".
> The question is: If the content of the profile element is
> encoded (Base64), then does the length restriction apply to the encoded
> form of the content or to the result after decoding? i.e. if encoding
> causes the size of the data to grow, does that matter?
>
> bob wyman
> _______________________________________________
> BEEPwg mailing list
> BEEPwg <at> lists.beepcore.org
> http://lists.beepcore.org/mailman/listinfo/beepwg
>
Darren New | 14 Aug 2002 18:03
Picon

Re: 4K Limit to Profile element length

Huston wrote:
> I took it to mean 4k after encoding because that coincides with the default
> window size.

Except that you can have multiple profile elements in a start message, and
you have extra overhead in the start messages too, so a limit of 4K here
doesn't mean it fits in the default window size.

--

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
   ** http://images.fbrtech.com/dnew/ **

Humility? Why would I need to show some humility?

Gmane