|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.fap.RemoteSourceChannel
The data source of this channel is on a remote site.
Field Summary | |
protected Address |
_addr
|
protected OutputPort |
_outport
|
protected Id |
_pid
|
Constructor Summary | |
RemoteSourceChannel(Address addr,
Id pid,
OutputPort outport)
Constructs a remote channel with remote address and pipe ID (for source). |
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. |
Address |
getRemoteAddress()
Return the address of remote source. |
OutputPort |
getRemoteOutputPort()
Return the output port of the remote source. |
Id |
getRemotePipeId()
Return the ID of remote pipe. |
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 Address _addr
protected Id _pid
protected OutputPort _outport
Constructor Detail |
public RemoteSourceChannel(Address addr, Id pid, OutputPort outport)
Method Detail |
public Address getRemoteAddress()
public Id getRemotePipeId()
public OutputPort getRemoteOutputPort()
public boolean isRemote()
SourceChannel
isRemote
in interface SourceChannel
public void attachDataSource(DataSource source, OutputPort outport) throws FapException
SourceChannel
attachDataSource
in interface SourceChannel
FapException
public DataSource getDataSource() throws FapException
SourceChannel
getDataSource
in interface SourceChannel
FapException
public OutputPort getOutputPort() throws FapException
SourceChannel
getOutputPort
in interface SourceChannel
FapException
public java.lang.Object pullData(java.lang.Object query) throws FapException
SourceChannel
pullData
in interface SourceChannel
FapException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |