public abstract class CM_Stream extends ChannelMonitor
Modifier and Type | Class and Description |
---|---|
static class |
CM_Stream.BrokenPipeException |
Constructor and Description |
---|
CM_Stream(Dispatcher d,
BufferSpec rbufspec,
BufferSpec wbufspec) |
Modifier and Type | Method and Description |
---|---|
protected void |
disconnectLingerDone(boolean ok,
CharSequence info,
Throwable ex) |
protected X509Certificate |
getPeerCertificate() |
protected Certificate[] |
getPeerChain() |
protected IOExecReaderStream |
getReader() |
protected SSLConfig |
getSSLConfig() |
protected IOExecWriter |
getWriter() |
protected abstract void |
ioReceived(ByteArrayRef rcvdata) |
boolean |
isBrokenPipe() |
boolean |
isConnected() |
protected void |
registerConnectedChannel(SelectableChannel chan,
boolean takeOwnership) |
protected void |
startedSSL() |
void |
startSSL() |
protected boolean |
usingSSL() |
disconnect, disconnect, dumpAppState, dumpState, eventError, getChannel, getCMID, getDatagramChannel, getDispatcher, getLogger, getReaper, getSocketChannel, getStartTime, getSystemTime, initChannelMonitor, ioDisconnected, setReaper, toString
public CM_Stream(Dispatcher d, BufferSpec rbufspec, BufferSpec wbufspec)
protected abstract void ioReceived(ByteArrayRef rcvdata) throws IOException
IOException
protected SSLConfig getSSLConfig()
protected void startedSSL() throws IOException
IOException
protected boolean usingSSL()
protected Certificate[] getPeerChain()
protected X509Certificate getPeerCertificate()
public boolean isConnected()
public boolean isBrokenPipe()
protected IOExecReaderStream getReader()
protected IOExecWriter getWriter()
protected void disconnectLingerDone(boolean ok, CharSequence info, Throwable ex)
protected void registerConnectedChannel(SelectableChannel chan, boolean takeOwnership) throws IOException
IOException
public void startSSL() throws IOException
IOException
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.