Changeset 53 for trunk/src/main/java/omq/server/RemoteWrapper.java
- Timestamp:
- 06/20/13 16:57:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/server/RemoteWrapper.java
r49 r53 4 4 import java.util.concurrent.BlockingQueue; 5 5 import java.util.concurrent.LinkedBlockingDeque; 6 7 import omq.common.util.Serializer; 6 8 7 9 import org.apache.log4j.Logger; … … 23 25 private BlockingQueue<Delivery> deliveryQueue; 24 26 25 public RemoteWrapper(RemoteObject obj, int numThreads ) {27 public RemoteWrapper(RemoteObject obj, int numThreads, Serializer serializer) { 26 28 this.obj = obj; 27 29 this.numThreads = numThreads; … … 32 34 33 35 for (int i = 0; i < numThreads; i++) { 34 InvocationThread thread = new InvocationThread(obj, deliveryQueue );36 InvocationThread thread = new InvocationThread(obj, deliveryQueue, serializer); 35 37 invocationList.add(thread); 36 38 thread.start();
Note: See TracChangeset
for help on using the changeset viewer.