@Override protected Object process(TServiceClient client) throws TException { IProfileService.Client iclient = (IProfileService.Client) client; try { if (!GlobalConfig.isWorkWithoutNetWork(mContext)) { String sid = ProfileHolder.getIns().getCurrentSid(mContext); iclient.logout(sid); } } catch (Throwable e) { Log.e("Logout", "failed", e); } ProfileHolder.getIns().logout(mContext); return ECode.SUCCESS; }
@Override protected Object process(TServiceClient client) throws TException, AException { IProfileService.Client iclient = (Client) client; mResult = iclient.getAllUsers(); return ECode.SUCCESS; }