public class RemoteWrapper
extends java.lang.Object
| Constructor and Description |
|---|
RemoteWrapper(RemoteObject obj,
int numThreads,
Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.BlockingQueue<com.rabbitmq.client.QueueingConsumer.Delivery> |
getDeliveryQueue() |
java.util.ArrayList<InvocationThread> |
getInvocationList() |
int |
getNumThreads() |
RemoteObject |
getObj() |
void |
notifyDelivery(com.rabbitmq.client.QueueingConsumer.Delivery delivery)
This method notifies a delivery to an invocationThread using a
blockingQueue.
|
void |
setDeliveryQueue(java.util.concurrent.BlockingQueue<com.rabbitmq.client.QueueingConsumer.Delivery> deliveryQueue) |
void |
setInvocationList(java.util.ArrayList<InvocationThread> invocationList) |
void |
setNumThreads(int numThreads) |
void |
setObj(RemoteObject obj) |
void |
stopRemoteWrapper()
This method interrups all the invocationThreads under this remoteWrapper
|
public RemoteWrapper(RemoteObject obj, int numThreads, Serializer serializer)
public void notifyDelivery(com.rabbitmq.client.QueueingConsumer.Delivery delivery)
throws java.lang.Exception
delivery - - delivery which contains a Request to be invokedjava.lang.Exceptionpublic void stopRemoteWrapper()
public RemoteObject getObj()
public void setObj(RemoteObject obj)
public int getNumThreads()
public void setNumThreads(int numThreads)
public java.util.ArrayList<InvocationThread> getInvocationList()
public void setInvocationList(java.util.ArrayList<InvocationThread> invocationList)
public java.util.concurrent.BlockingQueue<com.rabbitmq.client.QueueingConsumer.Delivery> getDeliveryQueue()
public void setDeliveryQueue(java.util.concurrent.BlockingQueue<com.rabbitmq.client.QueueingConsumer.Delivery> deliveryQueue)