com.latencybusters.lbm
Class UMESourceEventAckInfo

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

public class UMESourceEventAckInfo
extends java.lang.Object

UME Source Event Ack Info class. Contains extended information for message stability and confirmed delivery source events.

Since:
UME 2.0

Constructor Summary
UMESourceEventAckInfo(int flags, long sequenceNumber, long rcvRegId, int storeIndex, java.lang.String store, java.lang.Object clientd)
          Create a UMESourceEventAckInfo object and initialize all fields.
 
Method Summary
 java.lang.Object clientObject()
          Get the client-supplied callback object.
 int flags()
          Get informational flags associated with the source event.
 long receiverRegistrationId()
          Get the receiver registration ID.
 long sequenceNumber()
          Get the sequence number of the message the event was received for.
 java.lang.String store()
          Get the name (IP address) of the store the event came from.
 int storeIndex()
          Get the index of the store the source event came from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMESourceEventAckInfo

public UMESourceEventAckInfo(int flags,
                             long sequenceNumber,
                             long rcvRegId,
                             int storeIndex,
                             java.lang.String store,
                             java.lang.Object clientd)
                      throws LBMEInvalException
Create a UMESourceEventAckInfo object and initialize all fields.

Parameters:
flags - Informational flags.
sequenceNumber - Sequence number being acknowledged.
rcvRegId - Registration ID of the receiver acknowledging the message, in the case of a confirmed delivery message.
storeIndex - Index of the store acknowledging the message, for stability ACKs.
store - Name of the store acknowledgment came from.
clientd - Client-supplied callback object.
Throws:
LBMEInvalException - if sequenceNumber, rcvRegId, or storeIndex are < 0.
Method Detail

sequenceNumber

public long sequenceNumber()
Get the sequence number of the message the event was received for.

Returns:
Sequence number.
Since:
UME 2.0

receiverRegistrationId

public long receiverRegistrationId()
Get the receiver registration ID.

Returns:
Receiver registration ID.
Since:
UME 2.0

flags

public int flags()
Get informational flags associated with the source event.

Returns:
Flags.
Since:
UME 2.0

clientObject

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

Returns:
Client-supplied object.
Since:
UME 2.0

store

public java.lang.String store()
Get the name (IP address) of the store the event came from.

Returns:
Store name (IP address).
Since:
UME 2.0

storeIndex

public int storeIndex()
Get the index of the store the source event came from.

Returns:
Store index.
Since:
UME 2.0


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.