Package ch.rasc.wampspring.message

Examples of ch.rasc.wampspring.message.CallResultMessage


        Object[] arguments = null;
        if (callMessage.getArguments() != null) {
          arguments = callMessage.getArguments().toArray();
        }
        Object returnValue = invocableHandlerMethod.invoke(callMessage, arguments);
        CallResultMessage callResultMessage = new CallResultMessage(callMessage.getCallID(), returnValue);
        wampMessageSender.sendMessageToClient(sessionId, callResultMessage);
      } catch (Exception ex) {
        CallErrorMessage callErrorMessage = new CallErrorMessage(callMessage.getCallID(), "", ex.toString());
        wampMessageSender.sendMessageToClient(sessionId, callErrorMessage);
        logger.error("Error while processing message " + callMessage, ex);
View Full Code Here

TOP

Related Classes of ch.rasc.wampspring.message.CallResultMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.