Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.sblim.slp.internal.msg.SLPInputStream
public class SLPInputStream
extends java.lang.Object
Constructor Summary | |
| |
| |
| |
| |
|
Method Summary | |
int |
|
int |
|
long |
|
int |
|
ServiceLocationAttribute |
|
List |
|
List |
|
List |
|
ServiceType |
|
String |
|
List |
|
SortedSet |
|
ServiceURL |
|
List |
|
public SLPInputStream(DatagramPacket pPacket)
Ctor.
- Parameters:
pPacket
-
public SLPInputStream(InputStream pInStr)
Ctor.
- Parameters:
pInStr
-
public SLPInputStream(Socket pSock) throws IOException
Ctor.
- Parameters:
pSock
-
public SLPInputStream(byte[] pBytes)
Ctor.
- Parameters:
pBytes
-
public SLPInputStream(byte[] pBytes, int pOffset, int pLength)
Ctor.
- Parameters:
pBytes
-pOffset
-pLength
-
public int read16() throws ServiceLocationException, IOException
read16
- Returns:
- int
- Throws:
ServiceLocationException
-
public int read24() throws ServiceLocationException, IOException
read24
- Returns:
- int
- Throws:
ServiceLocationException
-
public long read32() throws ServiceLocationException, IOException
read32
- Returns:
- long
- Throws:
ServiceLocationException
-
public int read8() throws ServiceLocationException, IOException
read8
- Returns:
- int
- Throws:
ServiceLocationException
-
public ServiceLocationAttribute readAttribute() throws ServiceLocationException, IOException
readAttribute
- Returns:
- ServiceLocationAttribute
- Throws:
ServiceLocationException
-
public List readAttributeList() throws ServiceLocationException, IOException
readAttributeList
- Returns:
- List of ServiceLocationAttributes
- Throws:
ServiceLocationException
-
public List readAuthBlockList() throws ServiceLocationException, IOException
# of AttrAuths |(if present) Attribute Authentication Blocks...
- Returns:
- null
- Throws:
ServiceLocationException
-
public List readServTypeList() throws ServiceLocationException, IOException
readServTypeList
- Returns:
- List of ServiceTypes
- Throws:
ServiceLocationException
-
public ServiceType readServiceType() throws ServiceLocationException, IOException
readServiceType
- Returns:
- ServiceType
- Throws:
ServiceLocationException
-
public String readString() throws ServiceLocationException, IOException
readString
- Returns:
- String
- Throws:
ServiceLocationException
-
public List readStringList() throws ServiceLocationException, IOException
readStringList
- Returns:
- List of Strings
- Throws:
ServiceLocationException
-
public SortedSet readStringSet() throws ServiceLocationException, IOException
readStringSet
- Returns:
- SortedSet of Strings
- Throws:
ServiceLocationException
-
public ServiceURL readURL() throws ServiceLocationException, IOException
- Returns:
- ServiceURL
- Throws:
ServiceLocationException
-
public List readUrlList(List pURLExceptions) throws ServiceLocationException, IOException
readUrlList
- Returns:
- List of valid ServiceURLs
- Throws:
ServiceLocationException
-