protected class SocketConnector.ConnectorEndPoint extends SocketEndPoint implements Runnable, ConnectedEndPoint
Constructor and Description |
---|
SocketConnector.ConnectorEndPoint(Socket socket) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dispatch() |
int |
fill(Buffer buffer) |
Connection |
getConnection() |
void |
run() |
void |
setConnection(Connection connection) |
getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, idleExpired, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput, shutdownSocketInput, shutdownSocketOutput, toString
blockReadable, blockWritable, flush, flush, flush, getInputStream, getMaxIdleTime, getOutputStream, isBlocking, isClosed, setInputStream, setOutputStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
blockReadable, blockWritable, flush, flush, flush, getLocalAddr, getLocalHost, getLocalPort, getMaxIdleTime, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput
protected final Socket _socket
public SocketConnector.ConnectorEndPoint(Socket socket) throws IOException
IOException
public Connection getConnection()
getConnection
in interface ConnectedEndPoint
public void setConnection(Connection connection)
setConnection
in interface ConnectedEndPoint
public void dispatch() throws IOException
IOException
public int fill(Buffer buffer) throws IOException
fill
in interface EndPoint
fill
in class StreamEndPoint
IOException
public void close() throws IOException
close
in interface EndPoint
close
in class SocketEndPoint
IOException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.