Oracle Application Server Wireless Java API Reference
B10400-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

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.

notifyAll

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.