org.sblim.slp.internal.msg
public class SLPInputStream extends Object
Constructor Summary | |
---|---|
SLPInputStream(byte[] pBytes)
Ctor.
| |
SLPInputStream(Socket pSock)
Ctor.
| |
SLPInputStream(InputStream pInStr)
Ctor.
| |
SLPInputStream(DatagramPacket pPacket)
Ctor.
| |
SLPInputStream(byte[] pBytes, int pOffset, int pLength)
Ctor.
|
Method Summary | |
---|---|
int | read16()
read16
|
int | read24()
read24
|
long | read32()
read32
|
int | read8()
read8
|
ServiceLocationAttribute | readAttribute()
readAttribute
|
List<ServiceLocationAttribute> | readAttributeList()
readAttributeList
|
List<?> | readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks...
|
ServiceType | readServiceType()
readServiceType
|
List<ServiceType> | readServTypeList()
readServTypeList
|
String | readString()
readString
|
List<String> | readStringList()
readStringList
|
SortedSet<String> | readStringSet()
readStringSet
|
List<ServiceURL> | readUrlList(List<Exception> pURLExceptions)
readUrlList
|
ServiceURL | readURL() |
Parameters: pBytes
Parameters: pSock
Throws: IOException
Parameters: pInStr
Parameters: pPacket
Parameters: pBytes pOffset pLength
Returns: int
Throws: ServiceLocationException IOException
Returns: int
Throws: ServiceLocationException IOException
Returns: long
Throws: ServiceLocationException IOException
Returns: int
Throws: ServiceLocationException IOException
Returns: ServiceLocationAttribute
Throws: ServiceLocationException IOException
Returns: List of ServiceLocationAttributes
Throws: ServiceLocationException IOException
Returns: null
Throws: ServiceLocationException IOException
Returns: ServiceType
Throws: ServiceLocationException IOException
Returns: List of ServiceTypes
Throws: ServiceLocationException IOException
Returns: String
Throws: ServiceLocationException IOException
Returns: List of Strings
Throws: ServiceLocationException IOException
Returns: SortedSet of Strings
Throws: ServiceLocationException IOException
Parameters: pURLExceptions
Returns: List of valid ServiceURLs
Throws: ServiceLocationException IOException Add URL to list only if it is valid URL i.e. no exception is thrown by parser
Returns: ServiceURL
Throws: ServiceLocationException IOException