com.evernote.edam.userstore
Class UserStore.AsyncClient

java.lang.Object
  extended by TAsyncClient
      extended by com.evernote.edam.userstore.UserStore.AsyncClient
All Implemented Interfaces:
UserStore.AsyncIface
Enclosing class:
UserStore

public static class UserStore.AsyncClient
extends TAsyncClient
implements UserStore.AsyncIface


Nested Class Summary
static class UserStore.AsyncClient.authenticate_call
           
static class UserStore.AsyncClient.checkVersion_call
           
static class UserStore.AsyncClient.Factory
           
static class UserStore.AsyncClient.getPublicUserInfo_call
           
static class UserStore.AsyncClient.getUser_call
           
static class UserStore.AsyncClient.refreshAuthentication_call
           
 
Constructor Summary
UserStore.AsyncClient(TProtocolFactory protocolFactory, TAsyncClientManager clientManager, TNonblockingTransport transport)
           
 
Method Summary
 void authenticate(java.lang.String username, java.lang.String password, java.lang.String consumerKey, java.lang.String consumerSecret,  resultHandler)
           
 void checkVersion(java.lang.String clientName, short edamVersionMajor, short edamVersionMinor,  resultHandler)
           
 void getPublicUserInfo(java.lang.String username,  resultHandler)
           
 void getUser(java.lang.String authenticationToken,  resultHandler)
           
 void refreshAuthentication(java.lang.String authenticationToken,  resultHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStore.AsyncClient

public UserStore.AsyncClient(TProtocolFactory protocolFactory,
                             TAsyncClientManager clientManager,
                             TNonblockingTransport transport)
Method Detail

checkVersion

public void checkVersion(java.lang.String clientName,
                         short edamVersionMajor,
                         short edamVersionMinor,
                          resultHandler)
                  throws TException
Specified by:
checkVersion in interface UserStore.AsyncIface
Throws:
TException

authenticate

public void authenticate(java.lang.String username,
                         java.lang.String password,
                         java.lang.String consumerKey,
                         java.lang.String consumerSecret,
                          resultHandler)
                  throws TException
Specified by:
authenticate in interface UserStore.AsyncIface
Throws:
TException

refreshAuthentication

public void refreshAuthentication(java.lang.String authenticationToken,
                                   resultHandler)
                           throws TException
Specified by:
refreshAuthentication in interface UserStore.AsyncIface
Throws:
TException

getUser

public void getUser(java.lang.String authenticationToken,
                     resultHandler)
             throws TException
Specified by:
getUser in interface UserStore.AsyncIface
Throws:
TException

getPublicUserInfo

public void getPublicUserInfo(java.lang.String username,
                               resultHandler)
                       throws TException
Specified by:
getPublicUserInfo in interface UserStore.AsyncIface
Throws:
TException