com.sibvisions.rad.server.protocol
Interface IProtocolWriter


public interface IProtocolWriter

The IProtocolWriter defines writing record logs. It should be used in combination with a custom ProtocolFactory.


Method Summary
 void closeRecord(Record pRecord)
          Closes a record and writes the protocol.
 Record openRecord(java.lang.String pCategory, java.lang.String pCommand)
          Opens a new record.
 

Method Detail

openRecord

Record openRecord(java.lang.String pCategory,
                  java.lang.String pCommand)
Opens a new record.

Parameters:
pCategory - the category
pCommand - the command
Returns:
the new record

closeRecord

void closeRecord(Record pRecord)
Closes a record and writes the protocol.

Parameters:
pRecord - the record to write


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.