Package org.jdesktop.wonderland.modules.audiomanager.common.messages

Examples of org.jdesktop.wonderland.modules.audiomanager.common.messages.PlayTreatmentRequestMessage


                    (VoiceChatMessage) message);
            return;
        }

        if (message instanceof PlayTreatmentRequestMessage) {
            PlayTreatmentRequestMessage msg = (PlayTreatmentRequestMessage) message;

            Call call = vm.getCall(msg.getCallID());

            if (call == null) {
                logger.warning("No call for " + msg.getCallID());
                return;
            }

            try {
                call.playTreatment(msg.getTreatment());
            } catch (IOException e) {
                logger.warning("Unable to play treatment " + msg.getTreatment()
        + " to call " + call + ": " + e.getMessage());
            }
            return;
        }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.audiomanager.common.messages.PlayTreatmentRequestMessage

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.