com.spinn3r.api
Interface Client

All Known Implementing Classes:
BaseClient, CommentClient, CommentHistoryClient, FeedClient, FeedEntryClient, FeedHistoryClient, LinkClient, LinkHistoryClient, PermalinkClient, PermalinkEntryClient, PermalinkHistoryClient, PermalinkStatusClient, SourceClient, SourceListClient

public interface Client

Base interface for interacting with clients.


Method Summary
 void fetch()
           
 long getCallDuration()
           
 Config getConfig()
           
 java.lang.String getHost()
          Get the host name for API calls.
 java.io.InputStream getInputStream()
           
 java.lang.String getLastRequestURL()
           
 java.lang.String getNextRequestURL()
           
 long getParseDuration()
           
 java.util.Date getRestartPoint()
           
 java.util.List getResults()
           
 java.lang.String getRouter()
          Get the router URL for API calls.
 long getSleepDuration()
           
 void setConfig(Config config)
           
 void setHost(java.lang.String v)
           
 void setParseDuration(long v)
           
 void setSleepDuration(long v)
           
 

Method Detail

fetch

void fetch()
           throws java.io.IOException,
                  ParseException,
                  java.lang.InterruptedException
Throws:
java.io.IOException
ParseException
java.lang.InterruptedException

getResults

java.util.List getResults()

setConfig

void setConfig(Config config)

getConfig

Config getConfig()

getNextRequestURL

java.lang.String getNextRequestURL()

getLastRequestURL

java.lang.String getLastRequestURL()

getCallDuration

long getCallDuration()

getSleepDuration

long getSleepDuration()

setSleepDuration

void setSleepDuration(long v)

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getRestartPoint

java.util.Date getRestartPoint()

setHost

void setHost(java.lang.String v)

getHost

java.lang.String getHost()
Get the host name for API calls.


getRouter

java.lang.String getRouter()
Get the router URL for API calls.


getParseDuration

long getParseDuration()

setParseDuration

void setParseDuration(long v)


Copyright © Tailrank Inc. All Rights Reserved.