org.ws4d.java.client
Class AppSequenceBuffer

java.lang.Object
  extended by org.ws4d.java.client.AppSequenceBuffer

public class AppSequenceBuffer
extends java.lang.Object


Constructor Summary
AppSequenceBuffer()
          Constructor.
AppSequenceBuffer(int size)
          Constructor.
 
Method Summary
 boolean checkAndUpdate(EndpointReference epr, AppSequence appSeq)
           
 boolean contains(EndpointReference epr)
          Return true if the buffer contains an entry with the given epr, else false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppSequenceBuffer

public AppSequenceBuffer()
Constructor. Creates a new AppSequenceBuffer with the default size.


AppSequenceBuffer

public AppSequenceBuffer(int size)
Constructor. Creates a new AppSequenceBuffer with the given size.

Parameters:
size - number of entries the buffer can hold.
Method Detail

contains

public boolean contains(EndpointReference epr)
Return true if the buffer contains an entry with the given epr, else false.

Parameters:
epr - the EndpointReference to search for.
Returns:
true entry is found, else false.

checkAndUpdate

public boolean checkAndUpdate(EndpointReference epr,
                              AppSequence appSeq)
Parameters:
epr -
other -
Returns: