Visit Platform at http://www.platform.com

Platform Symphony 4.1 Java API Reference

com.platform.symphony.soam
Interface InputStream


public interface InputStream

Used by a Message object for reading, i.e. deserializing.

An InputStream can retrieve the following basic types of data:

See Also:
Message

Method Summary
 boolean readBoolean()
          Reads a boolean value from the input stream.
 byte[] readByteArray()
          Reads a byte array from the input stream.
 char readChar()
          Reads a char value from the input stream.
 double readDouble()
          Reads double value from the input stream.
 float readFloat()
          Reads a float value from the input stream.
 int readInt()
          Reads an int value from the input stream.
 long readLong()
          Reads a long value from the input stream.
 short readShort()
          Reads a short value from the input stream.
 java.lang.String readString()
          Reads a java.lang.String from the input stream.
 

Method Detail

readShort

short readShort()
                throws SoamException
Reads a short value from the input stream.

Returns:
The short retrieved from the input stream.
Throws:
SoamException

readInt

int readInt()
            throws SoamException
Reads an int value from the input stream.

Returns:
The integer retrieved from the input stream.
Throws:
SoamException

readLong

long readLong()
              throws SoamException
Reads a long value from the input stream.

Returns:
The long integer retrieved from the input stream.
Throws:
SoamException

readFloat

float readFloat()
                throws SoamException
Reads a float value from the input stream.

Returns:
The floating point number retrieved from the input stream.
Throws:
SoamException

readDouble

double readDouble()
                  throws SoamException
Reads double value from the input stream.

Returns:
The long floating point number retrieved from the input stream.
Throws:
SoamException

readBoolean

boolean readBoolean()
                    throws SoamException
Reads a boolean value from the input stream.

Returns:
The boolean value retrieved from the input stream.
Throws:
SoamException

readChar

char readChar()
              throws SoamException
Reads a char value from the input stream.

Returns:
The character retrieved from the input stream.
Throws:
SoamException

readString

java.lang.String readString()
                            throws SoamException
Reads a java.lang.String from the input stream.

Returns:
The string retrieved from the input stream.
Throws:
SoamException

readByteArray

byte[] readByteArray()
                     throws SoamException
Reads a byte array from the input stream.

Returns:
The byte array retrieved from the input stream.
Throws:
SoamException

Version 4.1
Date Modified: -DREL_DATE=Nov 03 2008
Platform Computing. Accelerating Intelligence(TM).
Copyright (C) 2001-2008 Platform Computing Corporation. All rights reserved.