public class SLPInputStream
extends java.lang.Object
| Constructor and Description |
|---|
SLPInputStream(byte[] pBytes)
Ctor.
|
SLPInputStream(byte[] pBytes,
int pOffset,
int pLength)
Ctor.
|
SLPInputStream(java.net.DatagramPacket pPacket)
Ctor.
|
SLPInputStream(java.io.InputStream pInStr)
Ctor.
|
SLPInputStream(java.net.Socket pSock)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read16()
read16
|
int |
read24()
read24
|
long |
read32()
read32
|
int |
read8()
read8
|
ServiceLocationAttribute |
readAttribute()
readAttribute
|
java.util.List<ServiceLocationAttribute> |
readAttributeList()
readAttributeList
|
java.util.List<?> |
readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks...
|
ServiceType |
readServiceType()
readServiceType
|
java.util.List<ServiceType> |
readServTypeList()
readServTypeList
|
java.lang.String |
readString()
readString
|
java.util.List<java.lang.String> |
readStringList()
readStringList
|
java.util.SortedSet<java.lang.String> |
readStringSet()
readStringSet
|
ServiceURL |
readURL() |
java.util.List<ServiceURL> |
readUrlList(java.util.List<java.lang.Exception> pURLExceptions)
readUrlList
|
public SLPInputStream(byte[] pBytes)
pBytes - public SLPInputStream(java.net.Socket pSock)
throws java.io.IOException
pSock - java.io.IOExceptionpublic SLPInputStream(java.io.InputStream pInStr)
pInStr - public SLPInputStream(java.net.DatagramPacket pPacket)
pPacket - public SLPInputStream(byte[] pBytes,
int pOffset,
int pLength)
pBytes - pOffset - pLength - public java.lang.String readString()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.SortedSet<java.lang.String> readStringSet()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.List<java.lang.String> readStringList()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic ServiceLocationAttribute readAttribute() throws ServiceLocationException, java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.List<ServiceLocationAttribute> readAttributeList() throws ServiceLocationException, java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.List<?> readAuthBlockList()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic ServiceURL readURL() throws ServiceLocationException, java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.List<ServiceURL> readUrlList(java.util.List<java.lang.Exception> pURLExceptions) throws ServiceLocationException, java.io.IOException
pURLExceptions - ServiceLocationExceptionjava.io.IOException - Add URL to list only if it is valid URL i.e. no exception is
thrown by parserpublic ServiceType readServiceType() throws ServiceLocationException, java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic java.util.List<ServiceType> readServTypeList() throws ServiceLocationException, java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic int read8()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic int read16()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic int read24()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionpublic long read32()
throws ServiceLocationException,
java.io.IOException
ServiceLocationExceptionjava.io.IOExceptionCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.