Examples of enableGroup()


Examples of net.solosky.maplefetion.FetionClient.enableGroup()

            client.cancelVerify((ImageVerifyEvent) event);
          }
        }
      });
      //禁用掉群,登录可以变得快一点
      client.enableGroup(false);   
     
      //这里为了编程方便使用了同步登录,当然推荐异步登录,使用登录状态回调函数来完成登录成功后的操作
      LoginState state = client.syncLogin();
      if(state==LoginState.LOGIN_SUCCESS){  //登录成功
        System.out.println("登录成功,正在发送消息至 "+args[2]+",请稍候...");                     
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.