Changeset 63
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/server/InvocationThread.java
r54 r63 47 47 String requestID = request.getId(); 48 48 49 logger.debug("Object: " + obj.getRef() + ", method: " + methodName + " corrID: " + requestID );49 logger.debug("Object: " + obj.getRef() + ", method: " + methodName + " corrID: " + requestID + ", serializerType: " + serializerType); 50 50 51 51 // Invoke the method -
trunk/src/test/java/omq/test/calculator/CalculatorImpl.java
r54 r63 3 3 import java.io.IOException; 4 4 5 import omq.common.broker.Broker; 5 6 import omq.exception.SerializerException; 6 7 import omq.server.RemoteObject; … … 8 9 public class CalculatorImpl extends RemoteObject implements Calculator { 9 10 private int mult = 0; 11 private Broker broker; 10 12 11 13 public CalculatorImpl() throws Exception { 12 14 super(); 15 } 16 17 public CalculatorImpl(Broker broker) throws Exception { 18 super(); 19 this.broker = broker; 13 20 } 14 21 … … 35 42 @Override 36 43 public void asyncDivideByZero() throws IOException, SerializerException { 37 //ZeroEvent ze = new ZeroEvent("my zero event", "zero-event");38 // Broker.trigger(ze);44 ZeroEvent ze = new ZeroEvent("my zero event", "zero-event"); 45 broker.trigger(ze); 39 46 // notifyEvent(ze); 40 47 }
Note: See TracChangeset
for help on using the changeset viewer.