org.jboss.jms.server.endpoint
Class DeliveryRunnable

java.lang.Object
  extended byorg.jboss.jms.server.endpoint.DeliveryRunnable
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class DeliveryRunnable
extends java.lang.Object
implements java.lang.Runnable, java.io.Serializable

A PooledExecutor job that contains the message to be delivered asynchronously to the client. The delivery is always carried on a thread pool thread.

Version:
$Revision: 2591 $ $Id: DeliveryRunnable.java 2591 2007-04-19 15:25:51Z timfox $
Author:
Ovidiu Feodorov, Tim Fox
See Also:
Serialized Form

Constructor Summary
DeliveryRunnable(MessageProxy msg, int consumerID, ServerConnectionEndpoint connection, boolean trace)
           
 
Method Summary
 int getConsumerID()
           
 MessageProxy getMessageProxy()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliveryRunnable

public DeliveryRunnable(MessageProxy msg,
                        int consumerID,
                        ServerConnectionEndpoint connection,
                        boolean trace)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getMessageProxy

public MessageProxy getMessageProxy()

getConsumerID

public int getConsumerID()


Copyright © 2006 JBoss Inc. All Rights Reserved.