|
|||||||||||
| 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 |
| Fields inherited from class org.jboss.jms.client.delegate.DelegateSupport |
id, state |
| Constructor Summary | |
ClientConsumerDelegate()
|
|
ClientConsumerDelegate(int objectID)
|
|
| Method Summary | |
void |
activate()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
cancelDeliveries(java.util.List ids)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
cancelDelivery(long messageID)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
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. |
long |
deactivate()
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. |
MessageProxy |
getMessageNow(boolean wait)
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. |
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 |
| Constructor Detail |
public ClientConsumerDelegate(int objectID)
public ClientConsumerDelegate()
| Method Detail |
public void activate()
throws JMSException
activate in interface ConsumerEndpointJMSException
public void cancelDelivery(long messageID)
throws JMSException
cancelDelivery in interface ConsumerEndpointJMSException
public void cancelDeliveries(java.util.List ids)
throws JMSException
cancelDeliveries in interface ConsumerEndpointJMSException
public void close()
throws JMSException
close in interface CloseableJMSException
public void closing()
throws JMSException
closing in interface CloseableJMSException
public long deactivate()
throws JMSException
deactivate in interface ConsumerEndpointJMSExceptionpublic MessageListener getMessageListener()
getMessageListener in interface ConsumerDelegate
public MessageProxy getMessageNow(boolean wait)
throws JMSException
getMessageNow in interface ConsumerEndpointJMSException
public Message receive(long timeout)
throws JMSException
receive in interface ConsumerDelegateJMSExceptionpublic void setMessageListener(MessageListener listener)
setMessageListener in interface ConsumerDelegatepublic boolean getNoLocal()
getNoLocal in interface ConsumerDelegatepublic JBossDestination getDestination()
getDestination in interface ConsumerDelegatepublic java.lang.String getMessageSelector()
getMessageSelector in interface ConsumerDelegatepublic void init()
DelegateSupport
init in class DelegateSupportpublic 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 | ||||||||||