|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.ipc.bon.BinaryStreamReader
public class BinaryStreamReader
IPC reader implementation for the binary protocol (BON).
| Method Summary | |
|---|---|
void |
close()
Closes the reader and the underlying stream. |
void |
closeWithoutStream()
Closes the reader but NOT the underlying stream. |
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface IpcStreamReaderjava.io.IOException - any error
public void closeWithoutStream()
throws java.io.IOException
closeWithoutStream in interface IpcStreamReaderjava.io.IOException - any errorpublic boolean currentBoolValue()
currentBoolValue in interface IpcStreamReaderpublic double currentDoubleValue()
currentDoubleValue in interface IpcStreamReaderpublic long currentLongValue()
currentLongValue in interface IpcStreamReaderpublic java.lang.String currentStringValue()
currentStringValue in interface IpcStreamReader
public boolean nextBoolValue()
throws java.io.IOException
nextBoolValue in interface IpcStreamReaderjava.io.IOException - any error.
public double nextDoubleValue()
throws java.io.IOException
nextDoubleValue in interface IpcStreamReaderjava.io.IOException - any error
public long nextLongValue()
throws java.io.IOException
nextLongValue in interface IpcStreamReaderjava.io.IOException - any error
public java.lang.String nextStringValue()
throws java.io.IOException
nextStringValue in interface IpcStreamReaderjava.io.IOException - any error
public IpcToken nextToken()
throws java.io.IOException
nextToken in interface IpcStreamReaderjava.io.IOException - any errorpublic java.io.InputStream getStream()
getStream in interface IpcStreamReader
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||