Package net.sf.jml.message

Examples of net.sf.jml.message.MsnInstantMessage


                    typingMessage.setTypingUser(switchboard.getMessenger()
                            .getOwner().getDisplayName());
                    switchboard.sendMessage(typingMessage);

                    //text message
                    MsnInstantMessage message = new MsnInstantMessage();
                    message.setBold(false);
                    message.setItalic(false);
                    message
                            .setFontRGBColor((int) (Math.random() * 255 * 255 * 255));
                    message.setContent("hello, " + contact.getFriendlyName());
                    switchboard.sendMessage(message);
                }

                public void switchboardClosed(MsnSwitchboard switchboard) {
                    switchboard.getMessenger().removeSwitchboardListener(this);
View Full Code Here


        MsnControlMessage typingMessage = new MsnControlMessage();
        typingMessage.setTypingUser(getMessenger().getOwner().getEmail()
                .getEmailAddress());
        sendMessage(typingMessage);

        MsnInstantMessage instanceMessage = new MsnInstantMessage();
        instanceMessage.setContent(text);
        sendMessage(instanceMessage);
    }
View Full Code Here

TOP

Related Classes of net.sf.jml.message.MsnInstantMessage

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.