cz.cuni.amis.pogamut.base.communication.connection
Interface IWorldWriterProvider

All Known Subinterfaces:
IWorldConnection<ADDRESS>
All Known Implementing Classes:
AbstractConnection, SocketConnection

public interface IWorldWriterProvider

Interface that provides a writer that can be used to send commands to the world.


Method Summary
 WorldWriter getWriter()
          To be used on ICommandSerializer.start() method to obtain a writer into the world.
 

Method Detail

getWriter

WorldWriter getWriter()
                      throws CommunicationException
To be used on ICommandSerializer.start() method to obtain a writer into the world.

Use writer.close() to stop the writer.

Returns:
Throws:
ConnectionException
CommunicationException