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

Package class diagram package 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.

Author:
Jimmy

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


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.