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

java.lang.Object
  extended by java.io.Writer
      extended by cz.cuni.amis.pogamut.base.communication.connection.WorldWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public abstract class WorldWriter
extends java.io.Writer


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
WorldWriter()
           
 
Method Summary
abstract  void close()
           
abstract  void flush()
           
abstract  boolean ready()
          Whether the writer is ready.
abstract  void write(char[] arg0, int arg1, int arg2)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldWriter

public WorldWriter()
Method Detail

close

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

flush

public abstract void flush()
                    throws PogamutIOException
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer
Throws:
PogamutIOException

write

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

ready

public abstract boolean ready()
                       throws PogamutIOException
Whether the writer is ready.

Returns:
Throws:
PogamutIOException