org.sblim.slp.internal.msg
Class DAAdvert

java.lang.Object
  extended by org.sblim.slp.internal.msg.SLPMessage
      extended by org.sblim.slp.internal.msg.ReplyMessage
          extended by org.sblim.slp.internal.msg.DAAdvert
All Implemented Interfaces:
FunctionIDs

public class DAAdvert
extends ReplyMessage

DAAdvert 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
DAAdvert(int pErrorCode, long pStatelessBootTime, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList, java.util.List pSPIList)
          Ctor.
DAAdvert(MsgHeader pHeader, int pErrorCode, long pStatelessBootTime, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList, java.util.List pSPIList)
          Ctor.
DAAdvert(java.lang.String pLangTag, int pErrorCode, long pStatelessBootTime, java.lang.String pURLStr, java.util.List pScopeList, java.util.List pAttrList, java.util.List pSPIList)
          Ctor.
 
Method Summary
 java.util.Iterator getExceptionIterator()
          getExceptionIterator
 java.util.Iterator getResultIterator()
          getResultIterator
static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr)
          parse
protected  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 Detail

DAAdvert

public DAAdvert(int pErrorCode,
                long pStatelessBootTime,
                java.lang.String pURLStr,
                java.util.List pScopeList,
                java.util.List pAttrList,
                java.util.List pSPIList)
Ctor.

Parameters:
pErrorCode -
pStatelessBootTime -
pURLStr -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pSPIList -

DAAdvert

public DAAdvert(java.lang.String pLangTag,
                int pErrorCode,
                long pStatelessBootTime,
                java.lang.String pURLStr,
                java.util.List pScopeList,
                java.util.List pAttrList,
                java.util.List pSPIList)
Ctor.

Parameters:
pLangTag -
pErrorCode -
pStatelessBootTime -
pURLStr -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pSPIList -

DAAdvert

public DAAdvert(MsgHeader pHeader,
                int pErrorCode,
                long pStatelessBootTime,
                java.lang.String pURLStr,
                java.util.List pScopeList,
                java.util.List pAttrList,
                java.util.List pSPIList)
Ctor.

Parameters:
pHeader -
pErrorCode -
pStatelessBootTime -
pURLStr -
pScopeList - - list of scope strings
pAttrList - - list of ServiceLocationAttributes
pSPIList -
Method Detail

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 class ReplyMessage
Returns:
Iterator of DADescriptors
See Also:
ReplyMessage.getResultIterator()

serializeBody

protected boolean serializeBody(SLPOutputStream pOutStr,
                                SerializeOption pOption)
Specified by:
serializeBody in class SLPMessage
Returns:
true if all data is written into pOStr (all data fits into size limit)

getExceptionIterator

public java.util.Iterator getExceptionIterator()
Description copied from class: ReplyMessage
getExceptionIterator

Specified by:
getExceptionIterator in class ReplyMessage
Returns:
Iterator


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.