Package net.kano.joustsim.oscar

Examples of net.kano.joustsim.oscar.AimConnection.connect()


      Screenname sn = new Screenname(getScreenName());
      _aimSession = new DefaultAimSession(sn);
      AimConnectionProperties props = new AimConnectionProperties(sn, getPassword());
      AimConnection conn = _aimSession.openConnection(props);
      conn.addStateListener(new AimStateHandler());
      conn.connect();
    }
    else {
      throw new ConnectedTooFastException("You attempted to connect repeatedly too quickly.");
    }
  }
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.