public class LocalConnector.LocalEndPoint extends ByteArrayEndPoint
_growOutput, _in, _ishut, _oshut, _out, NOIP
Constructor and Description |
---|
LocalConnector.LocalEndPoint() |
Modifier and Type | Method and Description |
---|---|
void |
addInput(String s) |
void |
close()
Close any backing stream associated with the endpoint
|
void |
onClose()
Callback method invoked when this
EndPoint is close. |
void |
shutdownOutput()
Shutdown the output.
|
void |
waitUntilClosed() |
void |
waitUntilClosedOrIdleFor(long idleFor,
TimeUnit units) |
fill, flush, getIn, getOutput, getOutputString, getOutputString, getTransport, hasMore, isGrowOutput, isInputShutdown, isOpen, isOutputShutdown, needsFill, onIncompleteFlush, reset, setGrowOutput, setInput, setInput, setInput, setInputEOF, setOutput, takeOutput, takeOutputString, takeOutputString
fillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getLocalAddress, getRemoteAddress, getWriteFlusher, onIdleExpired, onOpen, setConnection, toString, write
checkIdleTimeout, getIdleTimeout, getIdleTimestamp, notIdle, setIdleTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdleTimeout, setIdleTimeout
public void addInput(String s)
public void close()
EndPoint
close
in interface Closeable
close
in interface AutoCloseable
close
in interface EndPoint
close
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 shutdownOutput()
EndPoint
This call indicates that no more data will be sent on this endpoint that that the remote end should read an EOF once all previously sent data has been consumed. Shutdown may be done either at the TCP/IP level, as a protocol exchange (Eg TLS close handshake) or both.
If the endpoint has EndPoint.isInputShutdown()
true, then this call has the same effect
as EndPoint.close()
.
shutdownOutput
in interface EndPoint
shutdownOutput
in class ByteArrayEndPoint
public void waitUntilClosed()
public void waitUntilClosedOrIdleFor(long idleFor, TimeUnit units)
Copyright © 1995-2015 Webtide. All Rights Reserved.