Changeset 63 for trunk/src


Ignore:
Timestamp:
06/26/13 11:31:52 (11 years ago)
Author:
stoda
Message:

Logger modified

Location:
trunk/src
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/server/InvocationThread.java

    r54 r63  
    4747                                String requestID = request.getId();
    4848
    49                                 logger.debug("Object: " + obj.getRef() + ", method: " + methodName + " corrID: " + requestID);
     49                                logger.debug("Object: " + obj.getRef() + ", method: " + methodName + " corrID: " + requestID + ", serializerType: " + serializerType);
    5050
    5151                                // Invoke the method
  • trunk/src/test/java/omq/test/calculator/CalculatorImpl.java

    r54 r63  
    33import java.io.IOException;
    44
     5import omq.common.broker.Broker;
    56import omq.exception.SerializerException;
    67import omq.server.RemoteObject;
     
    89public class CalculatorImpl extends RemoteObject implements Calculator {
    910        private int mult = 0;
     11        private Broker broker;
    1012
    1113        public CalculatorImpl() throws Exception {
    1214                super();
     15        }
     16
     17        public CalculatorImpl(Broker broker) throws Exception {
     18                super();
     19                this.broker = broker;
    1320        }
    1421
     
    3542        @Override
    3643        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);
    3946                // notifyEvent(ze);
    4047        }
Note: See TracChangeset for help on using the changeset viewer.