|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.jms.client.delegate.DelegateSupport org.jboss.jms.client.delegate.ClientConsumerDelegate
public class ClientConsumerDelegate
The client-side Consumer delegate class.
Field Summary |
---|
Fields inherited from class org.jboss.jms.client.delegate.DelegateSupport |
---|
client, id, state, version |
Constructor Summary | |
---|---|
ClientConsumerDelegate()
|
|
ClientConsumerDelegate(java.lang.String objectID,
int bufferSize,
int maxDeliveries,
long redeliveryDelay)
|
Method Summary | |
---|---|
void |
changeRate(float newRate)
Sent to the server to specify a new maximum rate at which to send messages at |
void |
close()
Close the instance |
long |
closing(long sequence)
Tell the instance to prepare to close |
int |
getBufferSize()
|
JBossDestination |
getDestination()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
int |
getMaxDeliveries()
|
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. |
long |
getRedeliveryDelay()
|
void |
read(java.io.DataInputStream in)
|
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. |
void |
setState(HierarchicalState state)
|
void |
synchronizeWith(DelegateSupport nd)
During HA events, delegates corresponding to new enpoints on the new server are created and the state of those delegates has to be transfered to the "failed" delegates. |
java.lang.String |
toString()
|
void |
write(java.io.DataOutputStream out)
|
Methods inherited from class org.jboss.jms.client.delegate.DelegateSupport |
---|
doInvoke, doInvokeOneway, getClient, getID, getName, getState, handleThrowable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientConsumerDelegate(java.lang.String objectID, int bufferSize, int maxDeliveries, long redeliveryDelay)
public ClientConsumerDelegate()
Method Detail |
---|
public void synchronizeWith(DelegateSupport nd) throws java.lang.Exception
DelegateSupport
synchronizeWith
in class DelegateSupport
java.lang.Exception
public void setState(HierarchicalState state)
setState
in class DelegateSupport
public void close() throws JMSException
Closeable
close
in interface Closeable
JMSException
public long closing(long sequence) throws JMSException
Closeable
closing
in interface Closeable
JMSException
public void changeRate(float newRate) throws JMSException
ConsumerEndpoint
changeRate
in interface ConsumerEndpoint
JMSException
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 read(java.io.DataInputStream in) throws java.lang.Exception
read
in interface Streamable
read
in class DelegateSupport
java.lang.Exception
public void write(java.io.DataOutputStream out) throws java.lang.Exception
write
in interface Streamable
write
in class DelegateSupport
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public int getBufferSize()
public int getMaxDeliveries()
public long getRedeliveryDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |