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

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

public interface IWorldReaderProvider
extends IComponent

Interface that returns a reader that can be used to get messages from the world.


Method Summary
 WorldReader getReader()
          To be used by (usually) IParser upon IParser.start() method call to obtain a world reader.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent
getComponentId
 

Method Detail

getReader

WorldReader getReader()
                      throws CommunicationException
To be used by (usually) IParser upon IParser.start() method call to obtain a world reader.

Use reader.close() to close the connection.

Returns:
Throws:
ConnectionException
CommunicationException