org.sblim.slp.internal.msg

Class ServiceReply

public class ServiceReply extends ReplyMessage

ServiceReply message
Constructor Summary
ServiceReply(int pErrorCode, List pURLEntries)
Ctor.
ServiceReply(String pLangTag, int pErrorCode, List pURLEntries, List pURLExceptions)
Ctor.
ServiceReply(MsgHeader pHeader, int pErrorCode, List pURLEntries, List pURLExceptions)
Ctor.
Method Summary
IteratorgetExceptionIterator()
getExceptionIterator
IteratorgetResultIterator()
getResultIterator
ListgetURLEntries()
getURLEntries
ListgetURLExceptions()
getURLExceptions
static SLPMessageparse(MsgHeader pHdr, SLPInputStream pInStr)
parse
protected booleanserializeBody(SLPOutputStream pOutStr, SerializeOption pOption)

Constructor Detail

ServiceReply

public ServiceReply(int pErrorCode, List pURLEntries)
Ctor.

Parameters: pErrorCode pURLEntries - list of ServiceURLs

ServiceReply

public ServiceReply(String pLangTag, int pErrorCode, List pURLEntries, List pURLExceptions)
Ctor.

Parameters: pLangTag pErrorCode pURLEntries - list of ServiceURLs pURLExceptions - list of URL Exceptions

ServiceReply

public ServiceReply(MsgHeader pHeader, int pErrorCode, List pURLEntries, List pURLExceptions)
Ctor.

Parameters: pHeader pErrorCode pURLEntries - list of ServiceURLs pURLExceptions - list of URL Exceptions

Method Detail

getExceptionIterator

public Iterator getExceptionIterator()
getExceptionIterator

Returns: iterator of URL Exception list

getResultIterator

public Iterator getResultIterator()
getResultIterator

Returns: iterator of URL Exception list

getURLEntries

public List getURLEntries()
getURLEntries

Returns: list of ServiceURLs

getURLExceptions

public List getURLExceptions()
getURLExceptions

Returns: list of URL Exceptions

parse

public static SLPMessage parse(MsgHeader pHdr, SLPInputStream pInStr)
parse

Parameters: pHdr pInStr

Returns: SLPMessage

Throws: ServiceLocationException IOException

serializeBody

protected boolean serializeBody(SLPOutputStream pOutStr, SerializeOption pOption)
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.