net.larsan.urd.cmd
Interface CmdWriter

All Known Implementing Classes:
CmdWriterImpl

public interface CmdWriter

A simple interface for the Urd server to use when answering incoming CmdEvents. The server writes it's output and then calls commit() to indicate that the response is finished.

ALl implementations of this interface must use canonical line breaks.

Version:
Alpha-0.1 / 2002-10-06 21:37
Author:
Lars J. Nilsson

Method Summary
 void commit()
          Flush output to channels.
 void print(java.lang.String str)
          Write a string.
 void println()
          Write a canonical line break.
 void println(java.lang.String str)
          Write a string followed by a canonical like break.
 void write(CmdTable table)
          Write a table.
 

Method Detail

print

public void print(java.lang.String str)
Write a string.


println

public void println(java.lang.String str)
Write a string followed by a canonical like break.


println

public void println()
Write a canonical line break.


write

public void write(CmdTable table)
Write a table.


commit

public void commit()
Flush output to channels.