From 0fb2f5356f1ea96ea0f3ccbc3de54cbd556fc57e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 3 Mar 2008 14:49:06 +0000 Subject: A further step to final 0-10 spec. The extra.xml fragment adds class defs for connection in session that are in line with latest spec but use old schema. The preview codepath (99-0) remains unaltered. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633108 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/xml/extra.xml | 585 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 585 insertions(+) create mode 100644 qpid/cpp/xml/extra.xml (limited to 'qpid/cpp/xml/extra.xml') diff --git a/qpid/cpp/xml/extra.xml b/qpid/cpp/xml/extra.xml new file mode 100644 index 0000000000..c5b91271c3 --- /dev/null +++ b/qpid/cpp/xml/extra.xml @@ -0,0 +1,585 @@ + + + + + + + + + + Set of pairs of RFC-1982 numbers representing a discontinuous range. Each pair represents a + closed interval within the list. + + For example, the set (1,3), (6,6), (8,9) represents the sequence 1,2,3,6,8,9. + + + + + + + new start method + + + + + + blah, blah + + + + blah, blah + + + + + + + + + new start-ok method + + + + blah, blah + + + + blah, blah + + + + blah blah + + + + blah, blah + + + + + + + The SASL protocol works by exchanging challenges and responses until both peers have + received sufficient information to authenticate each other. This method challenges the + client to provide more information. + + + + + + + + + Challenge information, a block of opaque binary data passed to the security mechanism. + + + + + + + + + This method attempts to authenticate, passing a block of SASL data for the security + mechanism at the server side. + + + + + + + A block of opaque data passed to the security mechanism. The contents of this data are + defined by the SASL security mechanism. + + + + + + + + This method proposes a set of connection configuration values to the client. The client can + accept and/or adjust these. + + + + + + + + + The maximum total number of channels that the server allows per connection. Zero means + that the server does not impose a fixed limit, but the number of allowed channels may be + limited by available server resources. + + + + + + The largest frame size that the server proposes for the connection. The client can + negotiate a lower value. Zero means that the server does not impose any specific limit but + may reject very large frames if it cannot allocate resources for them. + + + + + Until the frame-max has been negotiated, both peers MUST accept frames of up to + frame-min-size octets large, and the minimum negotiated value for frame-max is also + frame-min-size. + + + Client connects to server and sends a large properties field, creating a frame of + frame-min-size octets. The server must accept this frame. + + + + + + + + The delay, in seconds, of the connection heartbeat that the server wants. Zero means the + server does not want a heartbeat. + + + + + + + + + This method sends the client's connection tuning parameters to the server. Certain fields + are negotiated, others provide capability information. + + + + + + + The maximum total number of channels that the client will use per connection. + + + + + If the client specifies a channel max that is higher than the value provided by the + server, the server MUST close the connection without attempting a negotiated close. The + server may report the error in some fashion to assist implementors. + + + + + + + + + + The largest frame size that the client and server will use for the connection. Zero means + that the client does not impose any specific limit but may reject very large frames if it + cannot allocate resources for them. Note that the frame-max limit applies principally to + content frames, where large contents can be broken into frames of arbitrary size. + + + + + Until the frame-max has been negotiated, both peers MUST accept frames of up to + frame-min-size octets large, and the minimum negotiated value for frame-max is also + frame-min-size. + + + + + + If the client specifies a frame max that is higher than the value provided by the + server, the server MUST close the connection without attempting a negotiated close. The + server may report the error in some fashion to assist implementors. + + + + + + + The delay, in seconds, of the connection heartbeat that the client wants. Zero means the + client does not want a heartbeat. + + + + + + + This method opens a connection to a virtual host, which is a collection of resources, and + acts to separate multiple application domains within a server. The server may apply + arbitrary limits per virtual host, such as the number of each type of entity that may be + used, per connection and/or in total. + + + + + + + + + + + The name of the virtual host to work with. + + + + + If the server supports multiple virtual hosts, it MUST enforce a full separation of + exchanges, queues, and all associated entities per virtual host. An application, + connected to a specific virtual host, MUST NOT be able to access resources of another + virtual host. + + + + + + The server SHOULD verify that the client has permission to access the specified virtual + host. + + + + + + + + The client can specify zero or more capability names, delimited by spaces. The server can + use this string to how to process the client's connection request. + + + + + + In a configuration with multiple collaborating servers, the server may respond to a + Connection.Open method with a Connection.Redirect. The insist option tells the server that + the client is insisting on a connection to the specified server. + + + + When the client uses the insist option, the server MUST NOT respond with a + Connection.Redirect method. If it cannot accept the client's connection request it + should respond by closing the connection with a suitable reply code. + + + + + + + + This method signals to the client that the connection is ready for use. + + + + + + + + + + This method redirects the client to another server, based on the requested virtual host + and/or capabilities. + + + + + When getting the Connection.Redirect method, the client SHOULD reconnect to the host + specified, and if that host is not present, to any of the hosts specified in the + known-hosts list. + + + + + + + + Specifies the server to connect to. This is an IP address or a DNS name, optionally + followed by a colon and a port number. If no port number is specified, the client should + use the default port number for the protocol. + + + + + + + + + new start-ok method + + + + + + + + This method indicates that the sender wants to close the connection. This may be due to + internal conditions (e.g. a forced shut-down) or due to an error handling a specific method, + i.e. an exception. When a close is due to an exception, the sender provides the class and + method id of the method which caused the exception. + + + + + + After sending this method any received method except the Close-OK method MUST be + discarded. + + + + + + + + + + + + + + When the close is provoked by a method exception, this is the class of the method. + + + + + + When the close is provoked by a method exception, this is the ID of the method. + + + + + + + + + This method confirms a Connection.Close method and tells the recipient that it is safe to + release resources for the connection and close the socket. + + + + + A peer that detects a socket closure without having received a Close-Ok handshake method + SHOULD log the error. + + + + + + + + + + + + + + + + + blah, blah + + + + + + + blah, blah + + + + blah, blah + + + + + + blah, blah + + + + + blah, blah + + + + + + + blah, blah + + + + + + + blah, blah + + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + blah, blah + + + blah, blah + + + + + blah, blah + + + + + blah, blah + + + + + + -- cgit v1.2.1