|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.client.delegate.DelegateSupport
org.jboss.jms.client.delegate.ClientConsumerDelegate
The client-side Consumer delegate class.
Field Summary | |
protected int |
bufferSize
|
protected int |
maxDeliveries
|
Fields inherited from class org.jboss.jms.client.delegate.DelegateSupport |
id, state |
Constructor Summary | |
ClientConsumerDelegate()
|
|
ClientConsumerDelegate(int objectID,
int bufferSize,
int maxDeliveries)
|
Method Summary | |
void |
close()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
closing()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
protected Client |
getClient()
|
JBossDestination |
getDestination()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
MessageListener |
getMessageListener()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
java.lang.String |
getMessageSelector()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
boolean |
getNoLocal()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
init()
Add Invoking interceptor and prepare the stack for invocations. |
boolean |
isClosed()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
more()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
Message |
receive(long timeout)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
setMessageListener(MessageListener listener)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
java.lang.String |
toString()
|
Methods inherited from class org.jboss.jms.client.delegate.DelegateSupport |
getID, getMetaData, getName, getState, invoke, setState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int bufferSize
protected int maxDeliveries
Constructor Detail |
public ClientConsumerDelegate(int objectID, int bufferSize, int maxDeliveries)
public ClientConsumerDelegate()
Method Detail |
public void more()
more
in interface ConsumerEndpoint
public void close() throws JMSException
close
in interface Closeable
JMSException
public void closing() throws JMSException
closing
in interface Closeable
JMSException
public boolean isClosed()
isClosed
in interface Closeable
public MessageListener getMessageListener()
getMessageListener
in interface ConsumerDelegate
public Message receive(long timeout) throws JMSException
receive
in interface ConsumerDelegate
JMSException
public void setMessageListener(MessageListener listener)
setMessageListener
in interface ConsumerDelegate
public boolean getNoLocal()
getNoLocal
in interface ConsumerDelegate
public JBossDestination getDestination()
getDestination
in interface ConsumerDelegate
public java.lang.String getMessageSelector()
getMessageSelector
in interface ConsumerDelegate
public void init()
DelegateSupport
init
in class DelegateSupport
public java.lang.String toString()
protected Client getClient()
getClient
in class DelegateSupport
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |