|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.slp.internal.msg.SLPInputStream
public class SLPInputStream
Helps the parsing of the bytes of SLP messages.
Constructor Summary | |
---|---|
SLPInputStream(byte[] pBytes)
Ctor. |
|
SLPInputStream(byte[] pBytes,
int pOffset,
int pLength)
Ctor. |
|
SLPInputStream(DatagramPacket pPacket)
Ctor. |
|
SLPInputStream(InputStream pInStr)
Ctor. |
|
SLPInputStream(Socket pSock)
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 |
ServiceURL |
readURL()
|
List<ServiceURL> |
readUrlList(List<Exception> pURLExceptions)
readUrlList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SLPInputStream(byte[] pBytes)
pBytes
- public SLPInputStream(Socket pSock) throws IOException
pSock
-
IOException
public SLPInputStream(InputStream pInStr)
pInStr
- public SLPInputStream(DatagramPacket pPacket)
pPacket
- public SLPInputStream(byte[] pBytes, int pOffset, int pLength)
pBytes
- pOffset
- pLength
- Method Detail |
---|
public String readString() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public SortedSet<String> readStringSet() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public List<String> readStringList() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public ServiceLocationAttribute readAttribute() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public List<ServiceLocationAttribute> readAttributeList() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public List<?> readAuthBlockList() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public ServiceURL readURL() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public List<ServiceURL> readUrlList(List<Exception> pURLExceptions) throws ServiceLocationException, IOException
pURLExceptions
-
ServiceLocationException
IOException
- Add URL to list only if it is valid URL i.e. no exception is
thrown by parserpublic ServiceType readServiceType() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public List<ServiceType> readServTypeList() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public int read8() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public int read16() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public int read24() throws ServiceLocationException, IOException
ServiceLocationException
IOException
public long read32() throws ServiceLocationException, IOException
ServiceLocationException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |