org.sblim.slp.internal.msg

Class ServiceReply

public class ServiceReply extends ReplyMessage

ServiceReply message
Constructor Summary
ServiceReply(int pErrorCode, List<ServiceURL> pURLEntries)
Ctor.
ServiceReply(String pLangTag, int pErrorCode, List<ServiceURL> pURLEntries, List<Exception> pURLExceptions)
Ctor.
ServiceReply(MsgHeader pHeader, int pErrorCode, List<ServiceURL> pURLEntries, List<Exception> pURLExceptions)
Ctor.
Method Summary
List<ServiceURL>getURLEntries()
getURLEntries
List<Exception>getURLExceptions()
getURLExceptions
static SLPMessageparse(MsgHeader pHdr, SLPInputStream pInStr)
parse

Constructor Detail

ServiceReply

public ServiceReply(int pErrorCode, List<ServiceURL> pURLEntries)
Ctor.

Parameters: pErrorCode pURLEntries - list of ServiceURLs

ServiceReply

public ServiceReply(String pLangTag, int pErrorCode, List<ServiceURL> pURLEntries, List<Exception> pURLExceptions)
Ctor.

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

ServiceReply

public ServiceReply(MsgHeader pHeader, int pErrorCode, List<ServiceURL> pURLEntries, List<Exception> pURLExceptions)
Ctor.

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

Method Detail

getURLEntries

public List<ServiceURL> getURLEntries()
getURLEntries

Returns: list of ServiceURLs

getURLExceptions

public List<Exception> 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

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