com.latencybusters.lbm
Class UMERegistrationSuccessInfo

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

public class UMERegistrationSuccessInfo
extends java.lang.Object

UME Registration Success Info class. Contains extended information for UME registration success messages, like flags indicating any conditions on store registration, source and receiver registration IDs, and the store's name and group index.

Since:
UME 2.0

Constructor Summary
UMERegistrationSuccessInfo()
          Creates a UMERegistrationSuccessInfo object and initializes all fields to 0/null.
UMERegistrationSuccessInfo(int flags, long sourceRegId, long receiverRegId, long sequenceNumber, int storeIndex, java.lang.String store)
          Creates a UMERegistrationSuccessInfo object and initializes fields to supplied values.
 
Method Summary
 int flags()
          Get registration success flags.
 long receiverRegistrationId()
          Get receiver registration ID.
 long sequenceNumber()
          Get starting sequence number.
 long sourceRegistrationId()
          Get source registration ID.
 java.lang.String store()
          Get name (IP address) of the store successfully registered with.
 int storeIndex()
          Get index of the store successfully registered with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMERegistrationSuccessInfo

public UMERegistrationSuccessInfo()
Creates a UMERegistrationSuccessInfo object and initializes all fields to 0/null.


UMERegistrationSuccessInfo

public UMERegistrationSuccessInfo(int flags,
                                  long sourceRegId,
                                  long receiverRegId,
                                  long sequenceNumber,
                                  int storeIndex,
                                  java.lang.String store)
                           throws LBMEInvalException
Creates a UMERegistrationSuccessInfo object and initializes fields to supplied values.

Parameters:
flags - Flags concerning the type of registration.
sourceRegId - Source registration ID (must be >= 0).
receiverRegId - Receiver registration ID (must be >= 0).
storeIndex - Index of store registered with (must be >= 0).
store - Name (IP address) of store registered with.
sequenceNumber - The starting sequence number according to the store.
Throws:
LBMEInvalException - if sourceRegId, receiverRegId, or storeIndex are < 0.
Since:
UME 2.0
Method Detail

flags

public int flags()
Get registration success flags.

Returns:
Flags.
Since:
UME 2.0

sourceRegistrationId

public long sourceRegistrationId()
Get source registration ID.

Returns:
source registration ID.
Since:
UME 2.0

receiverRegistrationId

public long receiverRegistrationId()
Get receiver registration ID.

Returns:
receiver registration ID.
Since:
UME 2.0

sequenceNumber

public long sequenceNumber()
Get starting sequence number.

Returns:
starting sequence number.
Since:
UME 2.0

storeIndex

public int storeIndex()
Get index of the store successfully registered with.

Returns:
index of the store.
Since:
UME 2.0

store

public java.lang.String store()
Get name (IP address) of the store successfully registered with.

Returns:
Name (IP address) of the store.
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.