com.latencybusters.lbm
Class LBMSourceEventSequenceNumberInfo

java.lang.Object
  extended by com.latencybusters.lbm.LBMSourceEventSequenceNumberInfo

public class LBMSourceEventSequenceNumberInfo
extends java.lang.Object

LBM Source Event Sequence Number Info class. Contains first and last sequence numbers and client-supplied callback object.

Since:
UME 2.0

Constructor Summary
LBMSourceEventSequenceNumberInfo()
          Creates an LBMSourceEventSequenceNumberInfo object with all fields initialized to 0/null.
LBMSourceEventSequenceNumberInfo(int flags, long firstSeqNum, long lastSeqNum, java.lang.Object clientd)
          Creates an LBMSourceEventSequenceNumberInfo with fields initialized to the given values.
 
Method Summary
 java.lang.Object clientObject()
          Get the client-supplied callback object.
 long firstSequenceNumber()
          Get the first sequence number.
 int flags()
          Get sequence number message flags.
 long lastSequenceNumber()
          Get the last sequence number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LBMSourceEventSequenceNumberInfo

public LBMSourceEventSequenceNumberInfo()
Creates an LBMSourceEventSequenceNumberInfo object with all fields initialized to 0/null.

Since:
UME 2.0

LBMSourceEventSequenceNumberInfo

public LBMSourceEventSequenceNumberInfo(int flags,
                                        long firstSeqNum,
                                        long lastSeqNum,
                                        java.lang.Object clientd)
                                 throws LBMEInvalException
Creates an LBMSourceEventSequenceNumberInfo with fields initialized to the given values.

Parameters:
flags - Flags concerning when sequence number messages are sent.
firstSeqNum - First sequence number (must be >= 0).
lastSeqNum - Last sequence number (must be >= 0).
clientd - Client-supplied callback object.
Throws:
LBMEInvalException - if firstSeqNum or lastSeqNum are < 0.
Since:
UME 2.0
Method Detail

flags

public int flags()
Get sequence number message flags.

Returns:
Flags indicating when sequence number messages are sent.
Since:
UME 2.0

firstSequenceNumber

public long firstSequenceNumber()
Get the first sequence number.

Returns:
The first sequence number.
Since:
UME 2.0

lastSequenceNumber

public long lastSequenceNumber()
Get the last sequence number.

Returns:
The last sequence number.
Since:
UME 2.0

clientObject

public java.lang.Object clientObject()
Get the client-supplied callback object.

Returns:
Client-supplied object.


All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.