Re: [ogpx] HTTP(S) and XMPP as transports of OGP application layer messages

Mojito Sorbet <mojitotech@gmail.com> Thu, 13 August 2009 14:24 UTC

Return-Path: <mojitotech@gmail.com>
X-Original-To: ogpx@core3.amsl.com
Delivered-To: ogpx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE7043A684F for <ogpx@core3.amsl.com>; Thu, 13 Aug 2009 07:24:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p1kwCIqv-M5o for <ogpx@core3.amsl.com>; Thu, 13 Aug 2009 07:24:23 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id AF4353A6834 for <ogpx@ietf.org>; Thu, 13 Aug 2009 07:24:10 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so285754qwi.31 for <ogpx@ietf.org>; Thu, 13 Aug 2009 07:22:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=xtlCxswRd4Uk0gE/wEDAYegXkeMYzJVUP3+7J67VAM4=; b=k8CBjpr2SDj/Em6gUQVXm14gdunubwTHk9asVFCp/1l9ekOgyYYI6et7dnWcpnD0hj 9aEENECYEW4i4qpkOQUIuXoWOGPFPBJ/KPty2EjZlG7nOfS5Il/H3+xzF0Uc2Ey8PyUo IxpA0E1mF66aQQjCX4MpHtKSZ8vK3gzB42/iw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=BrO3S4dgLHNJoyJ86gHk3RRgL+0WikYWZ9zPVdtsBH1cp1UMNCWGpulU2VlBbR8Nhj je3twHRIpd1EWHomjhlCBzXxpbP7HU7+zJa5G/YmtvsztnDtSq5aTj3lCvrvqHX2jDy4 wUjblXNl/B0LUjqCHvig8exbf8GGLalhLF5Vs=
Received: by 10.224.116.196 with SMTP id n4mr1239133qaq.320.1250172892358; Thu, 13 Aug 2009 07:14:52 -0700 (PDT)
Received: from ?192.168.2.95? (c-75-68-60-158.hsd1.nh.comcast.net [75.68.60.158]) by mx.google.com with ESMTPS id 6sm710605qwd.38.2009.08.13.07.14.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Aug 2009 07:14:50 -0700 (PDT)
Message-ID: <4A841FD5.7020602@gmail.com>
Date: Thu, 13 Aug 2009 10:14:45 -0400
From: Mojito Sorbet <mojitotech@gmail.com>
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
MIME-Version: 1.0
To: ogpx@ietf.org
References: <3a880e2c0908121753s34bacba7k59fae708752d3d6a@mail.gmail.com>
In-Reply-To: <3a880e2c0908121753s34bacba7k59fae708752d3d6a@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [ogpx] HTTP(S) and XMPP as transports of OGP application layer messages
X-BeenThere: ogpx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual Worlds and the Open Grid Protocol <ogpx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ogpx>
List-Post: <mailto:ogpx@ietf.org>
List-Help: <mailto:ogpx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2009 14:24:27 -0000

Infinity Linden wrote:
> For
> instance, does it REQUIRE request/response semantics? (i.e. - if i'm
> writing a compliant server layering OGP over XMPP, and i receive an
> OGP "request" in an XML stanza, am i REQUIRED to send a response?)

Well, if you are "requesting" something, that should "require" a 
response.  For example, the <iq/> stanza in XMPP does this. for both 
"get" and "set" operations.  The need for a response does not block the 
channel from carrying other stanzas in the meantime, which I think is an 
advantage over HTTP.

But if you are just reporting an event, as in a <presense/> or 
<message/> stanza, I do not see the need for any reply at all.   The 
whole reason for using something over TCP is so that we do not have to 
worry "did it get there?"

I am not suggesting that <presence/>, <iq/>, or <message/> stanzas as-is 
are appropriate for OGP.  I only mention them as examples of how an XMPP 
stream can carry both types.

XMPP today does some form of negotiation at session startup, mostly for 
determining login credentials and encryption level, so there is some 
precedent for that.