cz.cuni.amis.pogamut.base.communication.command.impl
Class StringCommandSerializer

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.command.impl.StringCommandSerializer
All Implemented Interfaces:
ICommandSerializer<java.lang.String>

public class StringCommandSerializer
extends java.lang.Object
implements ICommandSerializer<java.lang.String>


Constructor Summary
StringCommandSerializer()
           
 
Method Summary
 java.lang.String serialize(CommandMessage command)
          Serialize command into some form that may be sent to the world simulator.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringCommandSerializer

@Inject
public StringCommandSerializer()
Method Detail

serialize

public java.lang.String serialize(CommandMessage command)
Description copied from interface: ICommandSerializer
Serialize command into some form that may be sent to the world simulator.

Specified by:
serialize in interface ICommandSerializer<java.lang.String>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object