Interface YahooClient
-
- All Superinterfaces:
org.springframework.context.Lifecycle
- All Known Implementing Classes:
YahooClientImpl
interface YahooClient extends org.springframework.context.LifecycleProvides access to the Yahoo data source.- Since:
- 2.1.4
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel(YahooRequest inRequest)Cancels th given request.longgetRequestCounter()Gets the current count of requests.booleanisLoggedIn()Indicates if the connection is currently logged in or not.booleanlogin(YahooFeedCredentials inCredentials)Logs in to the Yahoo data source with the given credentials.voidlogout()Logs out from the Yahoo data source.voidrequest(YahooRequest inRequest)Executes the given request.voidresetRequestcounter()Resets the count of requests.
-
-
-
Method Detail
-
login
boolean login(YahooFeedCredentials inCredentials)
Logs in to the Yahoo data source with the given credentials.- Parameters:
inCredentials- aYahooFeedCredentialsvalue- Returns:
- a
booleanvalue
-
logout
void logout()
Logs out from the Yahoo data source.
-
isLoggedIn
boolean isLoggedIn()
Indicates if the connection is currently logged in or not.- Returns:
- a
booleanvalue
-
request
void request(YahooRequest inRequest)
Executes the given request.- Parameters:
inRequest- aYahooRequestvalue
-
cancel
void cancel(YahooRequest inRequest)
Cancels th given request.- Parameters:
inRequest- aYahooRequestvalue
-
getRequestCounter
long getRequestCounter()
Gets the current count of requests.- Returns:
- a
longvalue
-
resetRequestcounter
void resetRequestcounter()
Resets the count of requests.
-
-