Methods Summary |
---|
public boolean | acceptsFrame()
return !hasFrame();
|
public void | close()
if (mSourcePort != null && mSourcePort.isOpen()) {
mSourcePort.close();
}
super.close();
|
public boolean | filterMustClose()
return !isOpen() && isBlocking() && !hasFrame();
|
public Filter | getSourceFilter()
return mSourcePort == null ? null : mSourcePort.getFilter();
|
public FrameFormat | getSourceFormat()
return mSourcePort != null ? mSourcePort.getPortFormat() : getPortFormat();
|
public OutputPort | getSourcePort()
return mSourcePort;
|
public java.lang.Object | getTarget()
return null;
|
public boolean | isConnected()
return mSourcePort != null;
|
public boolean | isReady()
return hasFrame() || !isBlocking();
|
public void | open()
super.open();
if (mSourcePort != null && !mSourcePort.isOpen()) {
mSourcePort.open();
}
|
public void | setSourcePort(OutputPort source)
if (mSourcePort != null) {
throw new RuntimeException(this + " already connected to " + mSourcePort + "!");
}
mSourcePort = source;
|
public abstract void | transfer(FilterContext context)
|