|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.fap.RemoteSinkChannel
The data sink of this channel is on a remote site.
Field Summary | |
protected Address |
_addr
|
protected InputPort |
_inport
|
protected Id |
_pid
|
Constructor Summary | |
RemoteSinkChannel(Address addr,
Id pid,
InputPort inport)
Constructs a remote channel with remote address and pipe ID (for sink). |
Method Summary | |
void |
attachDataSink(DataSink sink,
InputPort inport)
Attach a data sink to this pipe. |
DataSink |
getDataSink()
Return the data sink of this pipe. |
InputPort |
getInputPort()
Return the input port of the connected sink. |
Address |
getRemoteAddress()
Return the address of remote source. |
InputPort |
getRemoteInputPort()
Return the input port of the remote sink. |
Id |
getRemotePipeId()
Return the ID of remote pipe. |
boolean |
isRemote()
Return whether the sink is on remote site. |
void |
pushData(java.lang.Object data)
Push the data to the downstream filter (data sink). |
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 InputPort _inport
Constructor Detail |
public RemoteSinkChannel(Address addr, Id pid, InputPort inport)
Method Detail |
public Address getRemoteAddress()
public Id getRemotePipeId()
public InputPort getRemoteInputPort()
public boolean isRemote()
SinkChannel
isRemote
in interface SinkChannel
public void attachDataSink(DataSink sink, InputPort inport) throws FapException
SinkChannel
attachDataSink
in interface SinkChannel
FapException
public DataSink getDataSink() throws FapException
SinkChannel
getDataSink
in interface SinkChannel
FapException
public InputPort getInputPort() throws FapException
SinkChannel
getInputPort
in interface SinkChannel
FapException
public void pushData(java.lang.Object data) throws FapException
SinkChannel
pushData
in interface SinkChannel
FapException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |