|
|||||||||||
| 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.ClientSessionDelegate
The client-side Session delegate class.
| Field Summary |
| Fields inherited from class org.jboss.jms.client.delegate.DelegateSupport |
client, id, state, version |
| Constructor Summary | |
ClientSessionDelegate()
|
|
ClientSessionDelegate(int objectID,
int dupsOKBatchSize)
|
|
| Method Summary | |
void |
acknowledgeAll()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
acknowledgeDeliveries(java.util.List acks)
Acknowledge a list of deliveries |
void |
acknowledgeDelivery(Ack ack)
Acknowledge a delivery |
void |
addAsfMessage(MessageProxy m,
int consumerID,
java.lang.String queueName,
int maxDeliveries,
SessionDelegate connectionConsumerSession)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
addTemporaryDestination(JBossDestination destination)
Add a temporary destination. |
void |
cancelDeliveries(java.util.List cancels)
Cancel a list of deliveries. |
void |
cancelDelivery(Cancel cancel)
Cancel a delivery |
void |
close()
Close the instance |
long |
closing()
Tell the instance to prepare to close |
void |
commit()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
BrowserDelegate |
createBrowserDelegate(JBossDestination queue,
java.lang.String messageSelector)
|
BytesMessageProxy |
createBytesMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
ConsumerDelegate |
createConsumerDelegate(JBossDestination destination,
java.lang.String selector,
boolean noLocal,
java.lang.String subscriptionName,
boolean connectionConsumer)
|
MapMessageProxy |
createMapMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
MessageProxy |
createMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
ObjectMessageProxy |
createObjectMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
ObjectMessageProxy |
createObjectMessage(java.io.Serializable object)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
ProducerDelegate |
createProducerDelegate(JBossDestination destination)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
JBossQueue |
createQueue(java.lang.String queueName)
Creates a queue identity given a Queue name. |
StreamMessageProxy |
createStreamMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
TextMessageProxy |
createTextMessage()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
TextMessageProxy |
createTextMessage(java.lang.String text)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
JBossTopic |
createTopic(java.lang.String topicName)
Creates a topic identity given a Queue name. |
void |
deleteTemporaryDestination(JBossDestination destination)
Delete a temporary destination |
int |
getAcknowledgeMode()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
int |
getDupsOKBatchSize()
|
MessageListener |
getMessageListener()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
boolean |
getTransacted()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
javax.transaction.xa.XAResource |
getXAResource()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
postDeliver()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
preDeliver(DeliveryInfo deliveryInfo)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
read(java.io.DataInputStream in)
|
void |
recover()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
recoverDeliveries(java.util.List acks)
Send delivery info to the server so the delivery lists can be repopulated. |
void |
redeliver()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
redeliver(java.util.List ackInfos)
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
rollback()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
run()
This invocation should either be handled by the client-side interceptor chain or by the server-side endpoint. |
void |
send(JBossMessage m,
boolean checkForDuplicates)
Send a message |
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 |
unsubscribe(java.lang.String subscriptionName)
Unsubscribe the client from the durable subscription specified by subscriptionName |
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 ClientSessionDelegate(int objectID,
int dupsOKBatchSize)
public ClientSessionDelegate()
| Method Detail |
public void synchronizeWith(DelegateSupport nd)
throws java.lang.Exception
DelegateSupport
synchronizeWith in class DelegateSupportjava.lang.Exceptionpublic void setState(HierarchicalState state)
setState in class DelegateSupport
public void close()
throws JMSException
Closeable
close in interface CloseableJMSException
public long closing()
throws JMSException
Closeable
closing in interface CloseableJMSException
public void acknowledgeDelivery(Ack ack)
throws JMSException
SessionEndpoint
acknowledgeDelivery in interface SessionEndpointJMSException
public void acknowledgeDeliveries(java.util.List acks)
throws JMSException
SessionEndpoint
acknowledgeDeliveries in interface SessionEndpointJMSException
public void acknowledgeAll()
throws JMSException
acknowledgeAll in interface SessionDelegateJMSException
public void addTemporaryDestination(JBossDestination destination)
throws JMSException
SessionEndpoint
addTemporaryDestination in interface SessionEndpointJMSException
public void redeliver()
throws JMSException
JMSException
public void commit()
throws JMSException
commit in interface SessionDelegateJMSException
public BrowserDelegate createBrowserDelegate(JBossDestination queue,
java.lang.String messageSelector)
throws JMSException
createBrowserDelegate in interface SessionEndpointJMSException
public BytesMessageProxy createBytesMessage()
throws JMSException
createBytesMessage in interface SessionDelegateJMSException
public ConsumerDelegate createConsumerDelegate(JBossDestination destination,
java.lang.String selector,
boolean noLocal,
java.lang.String subscriptionName,
boolean connectionConsumer)
throws JMSException
createConsumerDelegate in interface SessionEndpointJMSException
public MapMessageProxy createMapMessage()
throws JMSException
createMapMessage in interface SessionDelegateJMSException
public MessageProxy createMessage()
throws JMSException
createMessage in interface SessionDelegateJMSException
public ObjectMessageProxy createObjectMessage()
throws JMSException
createObjectMessage in interface SessionDelegateJMSException
public ObjectMessageProxy createObjectMessage(java.io.Serializable object)
throws JMSException
createObjectMessage in interface SessionDelegateJMSException
public ProducerDelegate createProducerDelegate(JBossDestination destination)
throws JMSException
createProducerDelegate in interface SessionDelegateJMSException
public JBossQueue createQueue(java.lang.String queueName)
throws JMSException
SessionEndpoint
createQueue in interface SessionEndpointJMSException
public StreamMessageProxy createStreamMessage()
throws JMSException
createStreamMessage in interface SessionDelegateJMSException
public TextMessageProxy createTextMessage()
throws JMSException
createTextMessage in interface SessionDelegateJMSException
public TextMessageProxy createTextMessage(java.lang.String text)
throws JMSException
createTextMessage in interface SessionDelegateJMSException
public JBossTopic createTopic(java.lang.String topicName)
throws JMSException
SessionEndpoint
createTopic in interface SessionEndpointJMSException
public void deleteTemporaryDestination(JBossDestination destination)
throws JMSException
SessionEndpoint
deleteTemporaryDestination in interface SessionEndpointJMSException
public MessageListener getMessageListener()
throws JMSException
getMessageListener in interface SessionDelegateJMSException
public void postDeliver()
throws JMSException
postDeliver in interface SessionDelegateJMSException
public void preDeliver(DeliveryInfo deliveryInfo)
throws JMSException
preDeliver in interface SessionDelegateJMSException
public void recover()
throws JMSException
recover in interface SessionDelegateJMSException
public void redeliver(java.util.List ackInfos)
throws JMSException
redeliver in interface SessionDelegateJMSException
public void rollback()
throws JMSException
rollback in interface SessionDelegateJMSExceptionpublic void run()
run in interface SessionDelegate
public void setMessageListener(MessageListener listener)
throws JMSException
setMessageListener in interface SessionDelegateJMSException
public void unsubscribe(java.lang.String subscriptionName)
throws JMSException
SessionEndpoint
unsubscribe in interface SessionEndpointsubscriptionName - the Name of the durable subscription to unsubscribe from
JMSExceptionpublic javax.transaction.xa.XAResource getXAResource()
getXAResource in interface SessionDelegatepublic int getAcknowledgeMode()
getAcknowledgeMode in interface SessionDelegatepublic boolean getTransacted()
getTransacted in interface SessionDelegate
public void addAsfMessage(MessageProxy m,
int consumerID,
java.lang.String queueName,
int maxDeliveries,
SessionDelegate connectionConsumerSession)
addAsfMessage in interface SessionDelegate
public void send(JBossMessage m,
boolean checkForDuplicates)
throws JMSException
SessionEndpoint
send in interface SessionEndpointm - The message to send
JMSException
public void cancelDeliveries(java.util.List cancels)
throws JMSException
SessionEndpoint
cancelDeliveries in interface SessionEndpointJMSException
public void cancelDelivery(Cancel cancel)
throws JMSException
SessionEndpoint
cancelDelivery in interface SessionEndpointcancel -
JMSException
public void recoverDeliveries(java.util.List acks)
throws JMSException
SessionEndpoint
recoverDeliveries in interface SessionEndpointJMSException
public void read(java.io.DataInputStream in)
throws java.lang.Exception
read in interface Streamableread in class DelegateSupportjava.lang.Exception
public void write(java.io.DataOutputStream out)
throws java.lang.Exception
write in interface Streamablewrite in class DelegateSupportjava.lang.Exceptionpublic int getDupsOKBatchSize()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||