RFC3382 - Internet Printing Protocol (IPP): The collection a(2)

时间:2005-02-17 来源: 作者: 点击:
no name (since name-length was 0) 0x0000 value- defined to be 0 for this length type no value (since value- length was 0) Appendix C: Encoding Example of Collection containing 1setOf XXX attribute (I
  

no name (since name-length
was 0)

0x0000 value- defined to be 0 for this
length type

no value (since value-
length was 0)

Appendix C: Encoding Example of Collection containing 1setOf XXX
attribute (Informative)

The overall structure of the collection value can be pictorially
represented as:

"wagons" =
{ "colors" = red, blue;
"sizes" = 4, 6, 8
}

A simplified view of the encoding would look like this:

Table 10 - Overview Encoding of collection with 1setOf value

Tag Value Name Value

begCollection wagons ""

memberAttrName "" colors

keyword "" red

keyword "" blue

memberAttrName "" sizes

integer "" 4

integer "" 6

integer "" 8

endCollection "" ""

Table 11 - Example Encoding of collection with 1setOf value

Octets Symbolic Value Protocol comments
field

0x34 begCollection value-tag beginning of the "wagons"
collection attribute

0x0005 name- length of (collection)
length attribute name

wagons wagons name name of (collection)
attribute

0x0000 value- defined to be 0 for this
length type

no value (since value-
length was 0)

0x4A memberAttrName value-tag starts a new member
attribute: "colors"

0x0000 name- defined to be 0 for this
length type, so part of 1setOf

no name (since name-length
was 0)

0x0006 value- length of "colors" keyword
length

colors colors value value is name of 1st
member attribute

0x44 keyword type value-tag keyword type

0x0000 name- 0 indicates 1setOf wagons
length

no name (since name-length
was 0)

0x0004 value-
length

Octets Symbolic Value Protocol comments
field

blue blue value value of 1st member
attribute

0x44 keyword type value-tag keyword type

0x0000 name- 0 indicates 1setOf wagons
length

no name (since name-length
was 0)

0x0003 value-
length

red red value value of 1st member
attribute

0x4A memberAttrName value-tag starts a new member
attribute: "sizes"

0x0000 name- defined to be 0 for this
length type, so part of 1setOf

no name (since name-length
was 0)

0x0005 value- length of "length-avail"
length keyword

sizes sizes value Name of 2nd member
attribute

0x21 integer type value-tag attribute type

0x0000 name- 0 indicates 1setOf wagons
length

no name (since name-length
was 0)

0x0004 value- length of an integer = 4
length

Octets Symbolic Value Protocol comments
field

0x0004 value 1st value for 1setOf
integer attribute

0x21 integer type value-tag attribute type

0x0000 name- 0 indicates 1setOf
length

no name (since name-length
was 0)

0x0004 value-
length length of an integer = 4

0x0006 value 2nd value for 1setOf
integer attribute

0x21 integer type value-tag attribute type

0x0000 name- 0 indicates 1setOf
length

no name (since name-length
was 0)

0x0004 value- length of an integer = 4
length

0x0008 value 3rd value for 1setOf
integer attribute

0x37 endCollection value-tag end of the collection

0x0000 name- defined to be 0 for this
length type, so part of 1setOf

no name (since name-length
was 0)

0x0000 value- defined to be 0 for this
length type

Octets Symbolic Value Protocol comments
field

no value (since value-
length was 0)

Appendix D: Description of the Base IPP Documents (Informative)

The base set of IPP documents includes:

Design Goals for an Internet Printing Protocol [RFC2567]
Rationale for the Structure and Model and Protocol for the
Internet Printing Protocol [RFC2568]
Internet Printing Protocol/1.1: Model and Semantics [RFC2911]
Internet Printing Protocol/1.1: Encoding and Transport [RFC2910]
Internet Printing Protocol/1.1: Implementer's Guide [RFC3196]
Mapping between LPD and IPP Protocols [RFC2569]

The "Design Goals for an Internet Printing Protocol" document takes a
broad look at distributed printing functionality, and it enumerates
real-life scenarios that help to clarify the features that need to be
included in a printing protocol for the Internet. It identifies
requirements for three types of users: end users, operators, and
administrators. It calls out a subset of end user requirements that
are satisfied in IPP/1.0 [RFC2566, RFC2565]. A few OPTIONAL operator
operations have been added to IPP/1.1 [RFC2911, RFC2910].

The "Rationale for the Structure and Model and Protocol for the
Internet Printing Protocol" document describes IPP from a high level
view, defines a roadmap for the various documents that form the suite
of IPP specification documents, and gives background and rationale
for the IETF IPP working group's major decisions.

The "Internet Printing Protocol/1.1: Model and Semantics" document
describes a simplified model with abstract objects, their attributes,
and their operations. The model introduces a Printer and a Job. The
Job supports multiple documents per Job. The model document also
addresses how security, internationalization, and directory issues
are addressed.

The "Internet Printing Protocol/1.1: Encoding and Transport" document
is a formal mapping of the abstract operations and attributes defined
in the model document onto HTTP/1.1 [RFC2616]. It also defines the
encoding rules for a new Internet MIME media type called
"application/ipp". This document also defines the rules for
transporting over HTTP a message body whose Content-Type is
"application/ipp". This document defines the 'ipp' scheme for
identifying IPP printers and jobs.

The "Internet Printing Protocol/1.1: Implementer's Guide" document
gives insight and advice to implementers of IPP clients and IPP
objects. It is intended to help them understand IPP/1.1 and some of
the considerations that may assist them in the design of their client
and/or IPP object implementations. For example, a typical order of
processing requests is given, including error checking. Motivation
for some of the specification decisions is also included.

The "Mapping between LPD and IPP Protocols" document gives some
advice to implementers of gateways between IPP and LPD (Line Printer
Daemon) implementations.

Authors' Addresses

Roger deBry
Utah Valley State College
Orem, UT 84058

Phone: (801) 222-8000
EMail: debryro@uvsc.edu

Tom Hastings
Xerox Corporation
737 Hawaii St. ESAE 231
El Segundo, CA 90245

Phone: 310-333-6413
Fax: 310-333-5514
EMail: hastings@cp10.es.xerox.com

Robert Herriot
Consultant
706 Colorado Ave
Palo Alto, CA 94303

Phone: 650-327-4466
Fax: 650-327-4466
EMail: bob@herriot.com

Kirk Ocke
Xerox Corp.
800 Phillips Rd
M/S 128-30E
Webster, NY 14580

Phone: (585) 442-4832
EMail: KOcke@crt.xerox.com

Peter Zehler
Xerox Corp.
800 Phillips Rd
M/S 128-30E
Webster, NY 14580

Phone: (585) 265-8755
EMail: PZehler@crt.xerox.com

IPP Web Page: http://www.pwg.org/ipp/
IPP Mailing List: ipp@pwg.org

To subscribe to the ipp mailing list, send the following email:

1) send it to majordomo@pwg.org
2) leave the subject line blank
3) put the following two lines in the message body:
subscribe ipp
end

Implementers of this specification document are encouraged to join
the IPP Mailing List in order to participate in any discussions of
clarification issues and review of registration proposals for
additional attributes and values. In order to reduce spam the
mailing list rejects mail from non-subscribers, so you must subscribe
to the mailing list in order to send a question or comment to the
mailing list.

Full Copyright Statement

Copyright (C) The Internet Society (2002). All Rights Reserved.

This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.

The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

Funding for the RFCEditor function is currently provided by the
Internet Society.

------分隔线----------------------------
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
推荐内容