|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.slp.internal.msg.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(java.net.DatagramPacket pPacket)
Ctor. |
|
SLPInputStream(java.io.InputStream pInStr)
Ctor. |
|
SLPInputStream(java.net.Socket pSock)
Ctor. |
Method Summary | |
int |
read16()
read16 |
int |
read24()
read24 |
long |
read32()
read32 |
int |
read8()
read8 |
ServiceLocationAttribute |
readAttribute()
readAttribute |
java.util.List |
readAttributeList()
readAttributeList |
java.util.List |
readAuthBlockList()
# of AttrAuths |(if present) Attribute Authentication Blocks... |
ServiceType |
readServiceType()
readServiceType |
java.util.List |
readServTypeList()
readServTypeList |
java.lang.String |
readString()
readString |
java.util.List |
readStringList()
readStringList |
java.util.SortedSet |
readStringSet()
readStringSet |
ServiceURL |
readURL()
|
java.util.List |
readUrlList(java.util.List 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(java.net.Socket pSock) throws java.io.IOException
pSock
-
java.io.IOException
public SLPInputStream(java.io.InputStream pInStr)
pInStr
- public SLPInputStream(java.net.DatagramPacket pPacket)
pPacket
- public SLPInputStream(byte[] pBytes, int pOffset, int pLength)
pBytes
- pOffset
- pLength
- Method Detail |
public java.lang.String readString() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public java.util.SortedSet readStringSet() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public java.util.List readStringList() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public ServiceLocationAttribute readAttribute() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public java.util.List readAttributeList() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public java.util.List readAuthBlockList() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public ServiceURL readURL() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public java.util.List readUrlList(java.util.List pURLExceptions) throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.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
ServiceLocationException
java.io.IOException
public java.util.List readServTypeList() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public int read8() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public int read16() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public int read24() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
public long read32() throws ServiceLocationException, java.io.IOException
ServiceLocationException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |