Package net.sf.jml.event

Examples of net.sf.jml.event.MsnMessageAdapter


* @author Roger Chen
*/
public class EchoMessenger extends BasicMessenger {

    protected void initMessenger(MsnMessenger messenger) {
        messenger.addMessageListener(new MsnMessageAdapter() {

            public void instantMessageReceived(MsnSwitchboard switchboard,
                    MsnInstantMessage message, MsnContact contact) {
                //text message received
                switchboard.sendMessage(message);
View Full Code Here

TOP

Related Classes of net.sf.jml.event.MsnMessageAdapter

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.