|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IpcStreamReader
Streaming API based reader for the IPC protocol.
| Method Summary | |
|---|---|
void |
close()
Closes the reader and the underlying stream. |
void |
closeWithoutStream()
Closes the reader but NOT the underlying stream. |
byte[] |
currentBinaryValue()
Returns the current token value as binary value. |
boolean |
currentBoolValue()
Returns the current token value as boolean value. |
double |
currentDoubleValue()
Returns the current token value as double value. |
long |
currentLongValue()
Returns the current token value as long value. |
java.lang.String |
currentStringValue()
Returns the current token value as string. |
java.io.InputStream |
getStream()
throws UnsupportedOperationException if not implemented by this response implementation. |
byte[] |
nextBinaryValue()
Shortcut for nextToken() + currentBinaryValue(). |
boolean |
nextBoolValue()
Shortcut for nextToken() + currentBoolValue(). |
double |
nextDoubleValue()
Shortcut for nextToken() + currentDoubleValue(). |
long |
nextLongValue()
Shortcut for nextToken() + currentLongValue(). |
java.lang.String |
nextStringValue()
Shortcut for nextToken() + currentStringValue(). |
IpcToken |
nextToken()
Returns the next token. |
| Method Detail |
|---|
java.io.InputStream getStream()
void close()
throws java.io.IOException
java.io.IOException - any error
void closeWithoutStream()
throws java.io.IOException
java.io.IOException - any error
IpcToken nextToken()
throws java.io.IOException
java.io.IOException - any error
java.lang.String currentStringValue()
throws java.io.IOException
java.io.IOException - any error
java.lang.String nextStringValue()
throws java.io.IOException
java.io.IOException - any error
long currentLongValue()
throws java.io.IOException
java.io.IOException - any error
long nextLongValue()
throws java.io.IOException
java.io.IOException - any error
double currentDoubleValue()
throws java.io.IOException
java.io.IOException - any error
double nextDoubleValue()
throws java.io.IOException
java.io.IOException - any error
boolean currentBoolValue()
throws java.io.IOException
java.io.IOException - any error
boolean nextBoolValue()
throws java.io.IOException
java.io.IOException - any error.
byte[] currentBinaryValue()
throws java.io.IOException
java.io.IOException - any error
byte[] nextBinaryValue()
throws java.io.IOException
java.io.IOException - any error.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||