net.vattp.data
Class MsgTransformer

java.lang.Object
  |
  +--net.vattp.data.MsgTransformer
Direct Known Subclasses:
Decrypt3DES, Encrypt3DES

abstract class MsgTransformer
extends Object


Constructor Summary
(package private) MsgTransformer()
           
 
Method Summary
(package private) abstract  byte[] getSuspendInfo()
          Get any information which will be required to resume a suspended connection.
(package private) abstract  void init()
          Initiate a transformation.
(package private)  void transform(byte[] buffer)
          Transform the data.
(package private) abstract  void transform(byte[] buffer, int off, int len)
          Transform the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgTransformer

MsgTransformer()
Method Detail

getSuspendInfo

abstract byte[] getSuspendInfo()
Get any information which will be required to resume a suspended connection.


init

abstract void init()
Initiate a transformation. This method must be called before the first transformation is called.


transform

void transform(byte[] buffer)
Transform the data.

Parameters:
buffer - is the data to be transformed.

transform

abstract void transform(byte[] buffer,
                        int off,
                        int len)
Transform the data.

Parameters:
buffer - is the data to be transformed.
off - is the offset in buffer to start the transformation
len - is the length to transform.


comments?