Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.feed
Interface FeedDataSource

All Superinterfaces:
FeedComponent, java.lang.Runnable

public interface FeedDataSource
extends java.lang.Runnable, FeedComponent

Method Summary
 void notifyAll(java.io.InputStream inputStream)
          Notify all data listeners that data is available on the stream
 void run()
          Run the feed.
 void setDataParser(FeedDataParser parser)
          Add a new listener to this data source.

 

Methods inherited from interface oracle.panama.feed.FeedComponent
getArgumentDefs, initialize

 

Method Detail

notifyAll

public void notifyAll(java.io.InputStream inputStream)
               throws FeedException
Notify all data listeners that data is available on the stream
Throws:
FeedException

run

public void run()
Run the feed. The feed agent should download all data. This method will get called periodically by the FeedAgentManager
Specified by:
run in interface java.lang.Runnable

setDataParser

public void setDataParser(FeedDataParser parser)
Add a new listener to this data source.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.