com.bankframe.ei.txnhandler.hostcache
Interface Encoder

All Known Implementing Classes:
OrderedEncoder, StringEncoder

Deprecated. Use the com.bankframe.serives.cache package instead

public interface Encoder

This interface defines the method for turning a DataPacket into a String


Method Summary
 java.lang.String encode(DataPacket dp)
          Deprecated. This method encodes a DataPacket into a String representation.
 

Method Detail

encode

public java.lang.String encode(DataPacket dp)
Deprecated. 
This method encodes a DataPacket into a String representation. This representation should be easy to calculate and be unique for unique DataPackets. It does not have to be reversable.

Parameters:
dp - The DataPacket to encode.
Returns:
The encoded DataPacket.


Copyright © 2005, 2007, Oracle. All rights reserved.