Пример #1
0
 /**
  * @see
  *     com.svhelloworld.knotlog.output.OutputProtocol#vesselMessage(com.svhelloworld.knotlog.domain.messages.VesselMessage)
  */
 @Override
 public String vesselMessage(VesselMessage message) {
   return BabelFish.localize(message) + "\n";
 }
Пример #2
0
 /**
  * @see
  *     com.svhelloworld.knotlog.output.OutputProtocol#unrecognizedMessage(com.svhelloworld.knotlog.domain.messages.UnrecognizedMessage)
  */
 @Override
 public String unrecognizedMessage(UnrecognizedMessage message) {
   return BabelFish.localize(message) + "\n";
 }