| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.cups.IPP
An IPP object is used to hold the various
 attributes and status of an ipp request..
| Field Summary | |
|  java.util.List | attrs | 
|  org.cups.IPPRequest | request | 
|  org.cups.IPPStatus | status | 
| Constructor Summary | |
| IPP() | |
| Method Summary | |
|  boolean | addAttribute(org.cups.IPPAttribute a)Add an attribute to the attibutes list for later parsing. | 
|  void | dump_response() | 
|  org.cups.IPPAttribute | getCurrentAttribute()Get the current attribute pointed at by current. | 
|  org.cups.IPPAttribute | ippFindAttribute(java.lang.String p_name,
                 int p_type)Find the named attribute of the correct type. | 
|  org.cups.IPPAttribute | ippFindNextAttribute(java.lang.String p_name,
                     int p_type)Find the named attribute of the correct type. | 
|  void | setRequestID(short p_id)Set the IPPrequest ID. | 
|  void | setRequestOperationID(short p_operation_id)Set the IPPoperation ID. | 
|  int | sizeInBytes()Get the size in bytes of an IPPrequest. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public org.cups.IPPRequest request
public org.cups.IPPStatus status
public java.util.List attrs
| Constructor Detail | 
public IPP()
| Method Detail | 
public boolean addAttribute(org.cups.IPPAttribute a)
a - IPPAttribute to add.
true	always returns true
                                    for now.IPPAttribute, 
IPPValuepublic org.cups.IPPAttribute getCurrentAttribute()
current.
IPPAttribute	Return the current attribute.
public org.cups.IPPAttribute ippFindAttribute(java.lang.String p_name,
                                              int p_type)
p_name - String containing the name.p_type - int attribute type.
IPPAttribute	Matching attribute if found.
public org.cups.IPPAttribute ippFindNextAttribute(java.lang.String p_name,
                                                  int p_type)
p_name - String containing the name.p_type - int attribute type.
IPPAttribute	Matching attribute if found.public int sizeInBytes()
IPP request.
int	Number of bytes for the request.public void setRequestID(short p_id)
IPP request ID.
p_id - short request id.public void setRequestOperationID(short p_operation_id)
IPP operation ID.
p_operation_id - short operation id.public void dump_response()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||