Package org.jboss.jms.wireformat

Examples of org.jboss.jms.wireformat.RequestSupport


      doInvoke(client, req);
   }

   public void setClientID(String clientID) throws JMSException
   {
      RequestSupport req = new ConnectionSetClientIDRequest(id, version, clientID);

      doInvoke(client, req);
   }
View Full Code Here


      throw new IllegalStateException("This invocation should not be handled here!");
   }

   public void start() throws JMSException
   {
      RequestSupport req = new ConnectionStartRequest(id, version);

      doInvoke(client, req);
   }
View Full Code Here

      doInvoke(client, req);
   }
  
   public void startAfterFailover() throws JMSException
   {
      RequestSupport req = new ConnectionStartRequest(id, version);

      doInvoke(client, req);
   }
View Full Code Here

      doInvoke(client, req);
   }

   public void stop() throws JMSException
   {
      RequestSupport req = new ConnectionStopRequest(id, version);

      doInvoke(client, req);
   }
View Full Code Here

      doInvoke(client, req);
   }

   public MessagingXid[] getPreparedTransactions() throws JMSException
   {
      RequestSupport req = new ConnectionGetPreparedTransactionsRequest(id, version);

      return (MessagingXid[])doInvoke(client, req);
   }
View Full Code Here

      throw new IllegalStateException("This invocation should not be handled here!");
   }
  
   public IDBlock getIdBlock(int size) throws JMSException
   {
      RequestSupport req = new ConnectionGetIDBlockRequest(id, version, size);

      return (IDBlock)doInvoke(client, req);
   }
View Full Code Here

   // Closeable implementation ---------------------------------------------------------------------

   public void close() throws JMSException
   {
      RequestSupport req = new CloseRequest(id, version);

      doInvoke(client, req);
   }
View Full Code Here

      doInvoke(client, req);
   }

   public long closing(long sequence) throws JMSException
   {         
      RequestSupport req = new ClosingRequest(((SessionState)state).getNPSendSequence(), id, version);

      return ((Long)doInvoke(client, req)).longValue();
   }
View Full Code Here

   // SessionDelegate implementation ---------------------------------------------------------------

   public boolean acknowledgeDelivery(Ack ack) throws JMSException
   {
      RequestSupport req = new SessionAcknowledgeDeliveryRequest(id, version, ack);

      if (sendAcksAsync)
      {
         doInvokeOneway(onewayClient, req);
        
View Full Code Here

      }
   }

   public void acknowledgeDeliveries(List acks) throws JMSException
   {
      RequestSupport req = new SessionAcknowledgeDeliveriesRequest(id, version, acks);
     
      if (sendAcksAsync)
      {
         doInvokeOneway(onewayClient, req);
      }
View Full Code Here

TOP

Related Classes of org.jboss.jms.wireformat.RequestSupport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.