FunctionIDspublic class ServiceReply 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 | Description |
|---|---|
ServiceReply(int pErrorCode,
java.util.List<ServiceURL> pURLEntries) |
Ctor.
|
ServiceReply(java.lang.String pLangTag,
int pErrorCode,
java.util.List<ServiceURL> pURLEntries,
java.util.List<java.lang.Exception> pURLExceptions) |
Ctor.
|
ServiceReply(MsgHeader pHeader,
int pErrorCode,
java.util.List<ServiceURL> pURLEntries,
java.util.List<java.lang.Exception> pURLExceptions) |
Ctor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<java.lang.Exception> |
getExceptionIterator() |
getExceptionIterator
|
java.util.Iterator<ServiceURL> |
getResultIterator() |
getResultIterator
|
java.util.List<ServiceURL> |
getURLEntries() |
getURLEntries
|
java.util.List<java.lang.Exception> |
getURLExceptions() |
getURLExceptions
|
static SLPMessage |
parse(MsgHeader pHdr,
SLPInputStream pInStr) |
parse
|
protected boolean |
serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorCodefresh, getFunctionID, getHeader, getLangTag, getVersion, getXID, multicast, overflows, serialize, serialize, setXID, toStringpublic ServiceReply(int pErrorCode,
java.util.List<ServiceURL> pURLEntries)
pErrorCode - pURLEntries - - list of ServiceURLspublic ServiceReply(java.lang.String pLangTag,
int pErrorCode,
java.util.List<ServiceURL> pURLEntries,
java.util.List<java.lang.Exception> pURLExceptions)
pLangTag - pErrorCode - pURLEntries - - list of ServiceURLspURLExceptions - - list of URL Exceptionspublic ServiceReply(MsgHeader pHeader, int pErrorCode, java.util.List<ServiceURL> pURLEntries, java.util.List<java.lang.Exception> pURLExceptions)
pHeader - pErrorCode - pURLEntries - - list of ServiceURLspURLExceptions - - list of URL Exceptionspublic static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr) throws ServiceLocationException, java.io.IOException
pHdr - pInStr - ServiceLocationExceptionjava.io.IOExceptionpublic java.util.Iterator<ServiceURL> getResultIterator()
getResultIterator in class ReplyMessagepublic java.util.Iterator<java.lang.Exception> getExceptionIterator()
getExceptionIterator in class ReplyMessagepublic java.util.List<ServiceURL> getURLEntries()
public java.util.List<java.lang.Exception> getURLExceptions()
protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
serializeBody in class SLPMessagepOption - Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.