public class LocalConnector.LocalEndPoint extends ByteArrayEndPoint
Constructor and Description |
---|
LocalEndPoint() |
Modifier and Type | Method and Description |
---|---|
void |
doShutdownOutput() |
protected void |
execute(Runnable task) |
void |
onClose()
Callback method invoked when this
EndPoint is close. |
ByteBuffer |
waitForResponse(boolean head,
long time,
TimeUnit unit)
Wait for a response using a parser to detect the end of message
|
void |
waitUntilClosed() |
void |
waitUntilClosedOrIdleFor(long idleFor,
TimeUnit units) |
addInput, addInput, addInput, addInputAndExecute, addInputEOF, fill, flush, getLocalAddress, getOutput, getOutputString, getOutputString, getRemoteAddress, getTransport, hasMore, isGrowOutput, needsFillInterest, onIncompleteFlush, reset, setGrowOutput, setOutput, takeOutput, takeOutputString, takeOutputString, waitForOutput
checkFill, checkFlush, close, close, doClose, doShutdownInput, fillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getWriteFlusher, isFillInterested, isInputShutdown, isOpen, isOptimizedForDirectBuffers, isOutputShutdown, onClose, onIdleExpired, onOpen, setConnection, shutdownInput, shutdownOutput, toString, upgrade, write
checkIdleTimeout, getIdleFor, getIdleTimeout, getIdleTimestamp, getScheduler, notIdle, setIdleTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdleTimeout, setIdleTimeout
protected void execute(Runnable task)
execute
in class ByteArrayEndPoint
public void onClose()
EndPoint
Callback method invoked when this EndPoint
is close.
onClose
in interface EndPoint
onClose
in class AbstractEndPoint
EndPoint.onOpen()
public void doShutdownOutput()
doShutdownOutput
in class AbstractEndPoint
public void waitUntilClosed()
public void waitUntilClosedOrIdleFor(long idleFor, TimeUnit units)
public ByteBuffer waitForResponse(boolean head, long time, TimeUnit unit) throws Exception
head
- time
- unit
- Exception
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.