com.latencybusters.lbm
Class LBMApplicationHeaderChain

java.lang.Object
  extended by com.latencybusters.lbm.LBMApplicationHeaderChain
All Implemented Interfaces:
java.lang.Iterable<LBMApplicationHeaderChainElement>

public class LBMApplicationHeaderChain
extends java.lang.Object
implements java.lang.Iterable<LBMApplicationHeaderChainElement>


Constructor Summary
LBMApplicationHeaderChain()
          Create an LBMApplicationHeaderChain object used to attach application headers to a send.
 
Method Summary
 void add(LBMApplicationHeaderChainElement element)
          Add a new LBMApplicationHeaderChainElement to the end of this application header chain.
 void dispose()
          Cleans up memory associated with this LBMApplicationHeaderChain.
protected  void finalize()
           
 java.util.Iterator<LBMApplicationHeaderChainElement> iterator()
          Returns an iterator that can be used to iterate over each LBMApplicationHeaderChainElement in this LBMApplicationHeaderChain.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LBMApplicationHeaderChain

public LBMApplicationHeaderChain()
                          throws LBMException
Create an LBMApplicationHeaderChain object used to attach application headers to a send.

Throws:
LBMException
Since:
UMQ 1.1
Method Detail

dispose

public void dispose()
             throws LBMException
Cleans up memory associated with this LBMApplicationHeaderChain. A chain should not be used again once dispose() has been called. Calling dispose() is optional, but recommended.

Throws:
LBMException
Since:
UMQ 1.1

finalize

protected void finalize()
                 throws LBMException
Overrides:
finalize in class java.lang.Object
Throws:
LBMException

iterator

public java.util.Iterator<LBMApplicationHeaderChainElement> iterator()
Returns an iterator that can be used to iterate over each LBMApplicationHeaderChainElement in this LBMApplicationHeaderChain.

Specified by:
iterator in interface java.lang.Iterable<LBMApplicationHeaderChainElement>
Returns:
Iterator for LBMApplicationHeaderChainElement items in this application chain.
Since:
UMQ 1.1

add

public void add(LBMApplicationHeaderChainElement element)
         throws LBMException
Add a new LBMApplicationHeaderChainElement to the end of this application header chain.

Parameters:
element - The element to add.
Throws:
LBMException - if the add fails for any reason.


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.