Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.ReplyMessage
org.sblim.slp.internal.msg.AttributeReply
public class AttributeReply
extends ReplyMessage
Fields inherited from interface org.sblim.slp.internal.msg.FunctionIDs | |
ATTR_RPLY , ATTR_RQST , DA_ADVERT , FIRST_ID , LAST_ID , SA_ADVERT , SRV_ACK , SRV_DEREG , SRV_REG , SRV_RPLY , SRV_RQST , SRV_TYPE_RPLY , SRV_TYPE_RQST |
Constructor Summary | |
| |
| |
|
Method Summary | |
Iterator |
|
Iterator |
|
static SLPMessage |
|
protected boolean |
|
Methods inherited from class org.sblim.slp.internal.msg.ReplyMessage | |
getErrorCode , getExceptionIterator , getResultIterator |
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage | |
fresh , getFunctionID , getHeader , getLangTag , getVersion , getXID , multicast , overflows , serialize , serialize , serializeBody , setXID , toString |
public AttributeReply(String pLangTag, int pErrorCode, List pAttrList)
Ctor.
- Parameters:
pLangTag
-pErrorCode
-pAttrList
- - list of ServiceLocationAttributes
public AttributeReply(int pErrorCode, List pAttrList)
Ctor.
- Parameters:
pErrorCode
-pAttrList
- - list of ServiceLocationAttributes
public AttributeReply(MsgHeader pHeader, int pErrorCode, List pAttrList)
Ctor.
- Parameters:
pHeader
-pErrorCode
-pAttrList
- - list of ServiceLocationAttributes
public Iterator getExceptionIterator()
getExceptionIterator
- Overrides:
- getExceptionIterator in interface ReplyMessage
- Returns:
- Iterator
public Iterator getResultIterator()
getResultIterator
- Overrides:
- getResultIterator in interface ReplyMessage
- Returns:
- Iterator
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
parse
- Parameters:
pHdr
-pInStr
-
- Returns:
- SLPMessage
- Throws:
ServiceLocationException
-
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
- Overrides:
- serializeBody in interface SLPMessage
- Returns:
- true if all data is written into pOStr (all data fits into size limit)