cz.cuni.amis.pogamut.base.communication.connection
Class WorldReader

java.lang.Object
  extended by java.io.Reader
      extended by cz.cuni.amis.pogamut.base.communication.connection.WorldReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable
Direct Known Subclasses:
WorldReader.WorldReaderWrapper

public abstract class WorldReader
extends java.io.Reader


Nested Class Summary
static class WorldReader.WorldReaderWrapper
           
 
Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
WorldReader()
           
 
Method Summary
abstract  void close()
           
abstract  int read(char[] arg0, int arg1, int arg2)
           
 boolean ready()
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldReader

public WorldReader()
Method Detail

ready

public boolean ready()
              throws PogamutIOException
Overrides:
ready in class java.io.Reader
Throws:
PogamutIOException

close

public abstract void close()
                    throws PogamutIOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
PogamutIOException

read

public abstract int read(char[] arg0,
                         int arg1,
                         int arg2)
                  throws PogamutIOException,
                         ComponentNotRunningException,
                         ComponentPausedException
Specified by:
read in class java.io.Reader
Throws:
PogamutIOException
ComponentNotRunningException
ComponentPausedException