Пример #1
0
 @Override
 protected TServiceClient getClient() throws TException {
   long cacheTime = RPCHelper.CACHE_TIME_LONG;
   if (mForseRefresh) cacheTime = RPCHelper.CACHE_TIME_REFRESH;
   return RPCHelper.getCachedProfileService(mContext, cacheTime);
 }
Пример #2
0
 @Override
 protected TServiceClient getClient() throws TException {
   return RPCHelper.getProfileService(context);
 }