org.jboss.jms.client.state
Class ConsumerState

java.lang.Object
  extended byorg.jboss.jms.client.state.HierarchicalStateSupport
      extended byorg.jboss.jms.client.state.ConsumerState
All Implemented Interfaces:
HierarchicalState

public class ConsumerState
extends HierarchicalStateSupport

State corresponding to a Consumer. This state is acessible inside aspects/interceptors.

Version:
$Revision: 1174 $ $Id: ConsumerState.java 1174 2006-08-02 14:14:32Z timfox $
Author:
Tim Fox

Field Summary
 
Fields inherited from class org.jboss.jms.client.state.HierarchicalStateSupport
children, delegate, parent
 
Constructor Summary
ConsumerState(SessionState parent, ConsumerDelegate delegate, Destination dest, java.lang.String selector, boolean noLocal, int consumerID, boolean isCC, int prefetchSize)
           
 
Method Summary
 int getConsumerID()
           
 Destination getDestination()
           
 MessageCallbackHandler getMessageCallbackHandler()
           
 int getPrefetchSize()
           
 java.lang.String getSelector()
           
 Version getVersionToUse()
           
 boolean isConnectionConsumer()
           
 boolean isNoLocal()
           
 void setMessageCallbackHandler(MessageCallbackHandler handler)
           
 
Methods inherited from class org.jboss.jms.client.state.HierarchicalStateSupport
getChildren, getDelegate, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerState

public ConsumerState(SessionState parent,
                     ConsumerDelegate delegate,
                     Destination dest,
                     java.lang.String selector,
                     boolean noLocal,
                     int consumerID,
                     boolean isCC,
                     int prefetchSize)
Method Detail

getDestination

public Destination getDestination()

getSelector

public java.lang.String getSelector()

isNoLocal

public boolean isNoLocal()

getConsumerID

public int getConsumerID()

isConnectionConsumer

public boolean isConnectionConsumer()

setMessageCallbackHandler

public void setMessageCallbackHandler(MessageCallbackHandler handler)

getMessageCallbackHandler

public MessageCallbackHandler getMessageCallbackHandler()

getVersionToUse

public Version getVersionToUse()

getPrefetchSize

public int getPrefetchSize()


Copyright © 2006 JBoss Inc. All Rights Reserved.