com.continuent.tungsten.replicator.thl
Class THLBinaryEvent

java.lang.Object
  extended by com.continuent.tungsten.replicator.thl.THLBinaryEvent

public class THLBinaryEvent
extends java.lang.Object

This class defines a BinaryEvent

Version:
1.0
Author:
Stephane Giron

Constructor Summary
THLBinaryEvent(long seqno, short fragno, boolean lastFrag, byte[] data)
          Creates a new THLBinaryEvent object
 
Method Summary
 byte[] getData()
          Returns the data value.
 short getFragno()
          Returns the fragno value.
 long getSeqno()
          Returns the seqno value.
 boolean isLastFrag()
          Returns the lastFrag value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

THLBinaryEvent

public THLBinaryEvent(long seqno,
                      short fragno,
                      boolean lastFrag,
                      byte[] data)
Creates a new THLBinaryEvent object

Parameters:
seqno -
fragno -
lastFrag -
data -
Method Detail

getSeqno

public long getSeqno()
Returns the seqno value.

Returns:
Returns the seqno.

getFragno

public short getFragno()
Returns the fragno value.

Returns:
Returns the fragno.

isLastFrag

public boolean isLastFrag()
Returns the lastFrag value.

Returns:
Returns the lastFrag.

getData

public byte[] getData()
Returns the data value.

Returns:
Returns the data.