org.sblim.slp.internal.msg
public class ServiceAcknowledgment extends ReplyMessage
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 and Description |
---|
ServiceAcknowledgment(int pErrorCode)
Ctor.
|
ServiceAcknowledgment(MsgHeader pHeader,
int pErrorCode)
Ctor.
|
ServiceAcknowledgment(String pLangTag,
int pErrorCode)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Exception> |
getExceptionIterator()
getExceptionIterator
|
Iterator<?> |
getResultIterator()
getResultIterator
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr)
parse
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
getErrorCode
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
public ServiceAcknowledgment(int pErrorCode)
pErrorCode
- public ServiceAcknowledgment(String pLangTag, int pErrorCode)
pLangTag
- pErrorCode
- public ServiceAcknowledgment(MsgHeader pHeader, int pErrorCode)
pHeader
- pErrorCode
- public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, IOException
pHdr
- pInStr
- ServiceLocationException
IOException
public Iterator<?> getResultIterator()
ReplyMessage
getResultIterator
in class ReplyMessage
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody
in class SLPMessage
pOption
- public Iterator<Exception> getExceptionIterator()
ReplyMessage
getExceptionIterator
in class ReplyMessage
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.