com.reticular.agentBuilder.agent.perception
Interface KqmlConverter


public interface KqmlConverter

Description :


Method Summary
 KqmlMessage bytesToKqml(byte[] bytes)
          Converts the byte array to a KqmlMessage.
 byte[] kqmlToBytes(KqmlMessage kqml)
          Converts the KqmlMessage to a byte array.
 boolean readReply()
          Returns true if a KqmlMessage reply will be sent in the same socket connection.
 

Method Detail

readReply

public boolean readReply()
Returns true if a KqmlMessage reply will be sent in the same socket connection.
Returns:
boolean

kqmlToBytes

public byte[] kqmlToBytes(KqmlMessage kqml)
Converts the KqmlMessage to a byte array.
Parameters:
KqmlMessage -  
Returns:
byte[]

bytesToKqml

public KqmlMessage bytesToKqml(byte[] bytes)
Converts the byte array to a KqmlMessage.
Parameters:
byte[] -  
Returns:
KqmlMessage