0 Replies Latest reply on Mar 11, 2008 9:04 AM by levancho

    RPC - Service Listener vs Tocket Listener?

    levancho Level 3
      I was running through some RPC documentation recently and came across the example that uses tocket.addresponder to register listeners for result/fault.

      token.info =

      token.addResponder(new AsyncResponder(myResultHandler, myFaultHandler, token));

      but same thing can be done on service level adding listeners to the service itself, does anyone know what is a really difference between those two approaches?

      documentation says : "This approach is similar to using the token, but all remote calls made with the same service use the same result and fault handlers."

      but its still does not sound very clear.