public interface IpcStreamReader
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.io.InputStream getStream()
void close()
throws java.io.IOException
java.io.IOException - any errorvoid closeWithoutStream()
throws java.io.IOException
java.io.IOException - any errorIpcToken nextToken() throws java.io.IOException
java.io.IOException - any errorjava.lang.String currentStringValue()
throws java.io.IOException
java.io.IOException - any errorjava.lang.String nextStringValue()
throws java.io.IOException
java.io.IOException - any errorlong currentLongValue()
throws java.io.IOException
java.io.IOException - any errorlong nextLongValue()
throws java.io.IOException
java.io.IOException - any errordouble currentDoubleValue()
throws java.io.IOException
java.io.IOException - any errordouble nextDoubleValue()
throws java.io.IOException
java.io.IOException - any errorboolean currentBoolValue()
throws java.io.IOException
java.io.IOException - any errorboolean nextBoolValue()
throws java.io.IOException
java.io.IOException - any error.byte[] currentBinaryValue()
throws java.io.IOException
java.io.IOException - any errorbyte[] nextBinaryValue()
throws java.io.IOException
java.io.IOException - any error.