Package org.sblim.slp.internal.msg
Class ServiceAcknowledgment
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
org.sblim.slp.internal.msg.ReplyMessage
org.sblim.slp.internal.msg.ServiceAcknowledgment
- All Implemented Interfaces:
FunctionIDs
ServiceAcknowledgment message
-
Field Summary
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
ConstructorsConstructorDescriptionServiceAcknowledgment
(int pErrorCode) Ctor.ServiceAcknowledgment
(java.lang.String pLangTag, int pErrorCode) Ctor.ServiceAcknowledgment
(MsgHeader pHeader, int pErrorCode) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionjava.util.Iterator<java.lang.Exception>
getExceptionIteratorjava.util.Iterator<?>
getResultIteratorstatic SLPMessage
parse
(MsgHeader pHdr, SLPInputStream pInStr) parseprotected boolean
serializeBody
(SLPOutputStream pOutStr, SerializeOption pOption) Methods inherited from class org.sblim.slp.internal.msg.ReplyMessage
getErrorCode
Methods inherited from class org.sblim.slp.internal.msg.SLPMessage
fresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ServiceAcknowledgment
public ServiceAcknowledgment(int pErrorCode) Ctor.- Parameters:
pErrorCode
-
-
ServiceAcknowledgment
public ServiceAcknowledgment(java.lang.String pLangTag, int pErrorCode) Ctor.- Parameters:
pLangTag
-pErrorCode
-
-
ServiceAcknowledgment
Ctor.- Parameters:
pHeader
-pErrorCode
-
-
-
Method Details
-
parse
public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException parse- Parameters:
pHdr
-pInStr
-- Returns:
- SLPMessage
- Throws:
ServiceLocationException
java.io.IOException
-
getResultIterator
public java.util.Iterator<?> getResultIterator()Description copied from class:ReplyMessage
getResultIterator- Specified by:
getResultIterator
in classReplyMessage
- Returns:
- Iterator
-
serializeBody
- Specified by:
serializeBody
in classSLPMessage
- Parameters:
pOption
-- Returns:
- true if all data is written into pOStr (all data fits into size limit)
-
getExceptionIterator
public java.util.Iterator<java.lang.Exception> getExceptionIterator()Description copied from class:ReplyMessage
getExceptionIterator- Specified by:
getExceptionIterator
in classReplyMessage
- Returns:
- Iterator
-