Package org.schwering.irc.lib

Examples of org.schwering.irc.lib.IRCConnection.addIRCEventListener()


        {
            conn = new SSLIRCConnection( host, new int[]{port}, password, nick, userName, realName );
            ( (SSLIRCConnection) conn ).addTrustManager( new SSLDefaultTrustManager() );
        }

        conn.addIRCEventListener( new Listener( conn, nick, alternateNick ) );
        checkConnection( conn, key );
        checkChannel( conn, key, channel );
        hostConnections.put( key, conn );
        return conn;
    }
View Full Code Here


      ((SSLIRCConnection) connection).addTrustManager(new SSLDefaultTrustManager());
    } else {
      connection = new IRCConnection(host, ports, pass, nick, username, realname);
    }

    connection.addIRCEventListener(answer);
    answer.setConnection(connection);

    connection.setDaemon(true);
    connection.setColors(false);
    connection.setPong(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.