|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--solar.service.fap.LocalSourceChannel
The data source of this channel is on the local site.
| Field Summary | |
protected OutputPort |
_outport
|
protected DataSource |
_source
|
| Constructor Summary | |
LocalSourceChannel()
Constructs an empty source channel. |
|
LocalSourceChannel(DataSource source,
OutputPort outport)
Constructs a source channel wit specified data source attached. |
|
| Method Summary | |
void |
attachDataSource(DataSource source,
OutputPort outport)
Attach a data source to this pipe. |
DataSource |
getDataSource()
Return the data source of this pipe. |
OutputPort |
getOutputPort()
Return the output port of connected data source. |
boolean |
isRemote()
Return whether the source is on remote site. |
java.lang.Object |
pullData(java.lang.Object query)
Pull the data from upstream filter (data source). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DataSource _source
protected OutputPort _outport
| Constructor Detail |
public LocalSourceChannel()
public LocalSourceChannel(DataSource source,
OutputPort outport)
| Method Detail |
public boolean isRemote()
SourceChannel
isRemote in interface SourceChannel
public void attachDataSource(DataSource source,
OutputPort outport)
throws FapException
SourceChannel
attachDataSource in interface SourceChannelFapException
public DataSource getDataSource()
throws FapException
SourceChannel
getDataSource in interface SourceChannelFapException
public OutputPort getOutputPort()
throws FapException
SourceChannel
getOutputPort in interface SourceChannelFapException
public java.lang.Object pullData(java.lang.Object query)
throws FapException
SourceChannel
pullData in interface SourceChannelFapException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||