Package org.schwering.irc.lib

Examples of org.schwering.irc.lib.IRCEventAdapter


    public static void main(String[] args) throws InterruptedException {
        final IrcConfiguration config = new IrcConfiguration("irc.codehaus.org", "camel-irc", "Camel IRC Component", "#camel-test");

        final IRCConnection conn = new IRCConnection(config.getHostname(), config.getPorts(), config.getPassword(), config.getNickname(), config.getUsername(), config.getRealname());

        conn.addIRCEventListener(new IRCEventAdapter() {

            @Override
            public void onRegistered() {
                super.onRegistered();
                System.out.println("onRegistered");
View Full Code Here

TOP

Related Classes of org.schwering.irc.lib.IRCEventAdapter

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.