public class FCPConnectionOutputHandler
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
FCPConnectionOutputHandler(FCPConnectionHandler handler) |
Modifier and Type | Method and Description |
---|---|
boolean |
isQueueHalfFull() |
void |
onClosed() |
void |
queue(FCPMessage msg)
Deprecated.
Use
FCPConnectionHandler.send(FCPMessage) instead of using public access to the
member variable FCPConnectionHandler.outputHandler to call this function here
upon the outputHandler. In other words: Replace
fcpConnectionHandler.outputHandler.queue(...)
with fcpConnectionHandler.send(...) TODO: The deprecation is merely to enforce people to stop using the said member variable in a public way. The function itself is fine to stay. Once the public usage has been replaced by the suggested way of using send(), please make the member variable FCPConnectionHandler.outputHandler private and remove the deprecation at this
function here. |
void |
run() |
public FCPConnectionOutputHandler(FCPConnectionHandler handler)
public void run()
run
in interface java.lang.Runnable
@Deprecated public void queue(FCPMessage msg)
FCPConnectionHandler.send(FCPMessage)
instead of using public access to the
member variable FCPConnectionHandler.outputHandler
to call this function here
upon the outputHandler. In other words: Replace
fcpConnectionHandler.outputHandler.queue(...)
with fcpConnectionHandler.send(...)
FCPConnectionHandler.outputHandler
private and remove the deprecation at this
function here.public void onClosed()
public boolean isQueueHalfFull()