Package org.jboss.jms.wireformat

Examples of org.jboss.jms.wireformat.RequestSupport


      doInvoke(client, req);
   }

   public void recoverDeliveries(List acks, String sessionID) throws JMSException
   {
      RequestSupport req = new SessionRecoverDeliveriesRequest(id, version, acks, sessionID);

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


         if (closed)
         {
            throw new MessagingShutdownException("Cannot handle invocation since messaging server is not active (it is either starting up or shutting down)");
         }
          
         RequestSupport request = (RequestSupport)invocation.getParameter();
        
         if (request instanceof CallbackRequestSupport)
         {
            performCallbackRequest(request);
         }
     
         return request.serverInvoke();
      }
      finally
      {
        invokeLock.readLock().release();
        if (intr) Thread.currentThread().interrupt();
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(sequence, id, version);

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

   public SessionDelegate createSessionDelegate(boolean transacted,
                                                int acknowledgmentMode,
                                                boolean isXA) throws JMSException
   {
      RequestSupport req =
         new ConnectionCreateSessionDelegateRequest(id, version, transacted,
                                                    acknowledgmentMode, isXA);

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

   }


   public String getClientID() throws JMSException
   {
      RequestSupport req = new ConnectionGetClientIDRequest(id, version);

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

   }

   public void sendTransaction(TransactionRequest request,
                               boolean checkForDuplicates) throws JMSException
   {
      RequestSupport req =
         new ConnectionSendTransactionRequest(id, version, request, checkForDuplicates);

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

      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

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.