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, takeOutputStringfillInterested, getConnection, getCreatedTimeStamp, getFillInterest, getLocalAddress, getRemoteAddress, getWriteFlusher, onIdleExpired, onOpen, setConnection, toString, writecheckIdleTimeout, getIdleTimeout, getIdleTimestamp, notIdle, setIdleTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdleTimeout, setIdleTimeoutpublic void addInput(String s)
public void close()
EndPointclose in interface Closeableclose in interface AutoCloseableclose in interface EndPointclose in class ByteArrayEndPointpublic void onClose()
EndPointCallback method invoked when this EndPoint is close.
onClose in interface EndPointonClose in class AbstractEndPointEndPoint.onOpen()public void shutdownOutput()
EndPointThis 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 EndPointshutdownOutput in class ByteArrayEndPointpublic void waitUntilClosed()
public void waitUntilClosedOrIdleFor(long idleFor,
TimeUnit units)
Copyright © 1995-2015 Webtide. All Rights Reserved.