org.eclipse.jetty.server.bio
Class SocketConnector.ConnectorEndPoint
java.lang.Object
org.eclipse.jetty.io.bio.StreamEndPoint
org.eclipse.jetty.io.bio.SocketEndPoint
org.eclipse.jetty.server.bio.SocketConnector.ConnectorEndPoint
- All Implemented Interfaces:
- Runnable, ConnectedEndPoint, EndPoint
- Direct Known Subclasses:
- SslSocketConnector.SslConnectorEndPoint
- Enclosing class:
- SocketConnector
protected class SocketConnector.ConnectorEndPoint
- extends SocketEndPoint
- implements Runnable, ConnectedEndPoint
| Methods inherited from class org.eclipse.jetty.io.bio.StreamEndPoint |
blockReadable, blockWritable, flush, flush, flush, getInputStream, getMaxIdleTime, getOutputStream, isBlocking, isBufferingInput, isBufferingOutput, isBufferred, isClosed, setInputStream, setOutputStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.io.EndPoint |
blockReadable, blockWritable, flush, flush, flush, getLocalAddr, getLocalHost, getLocalPort, getMaxIdleTime, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isBufferingInput, isBufferingOutput, isBufferred, isOpen, setMaxIdleTime, shutdownOutput |
_socket
protected final Socket _socket
SocketConnector.ConnectorEndPoint
public SocketConnector.ConnectorEndPoint(Socket socket)
throws IOException
- Throws:
IOException
getConnection
public Connection getConnection()
- Specified by:
getConnection in interface ConnectedEndPoint
setConnection
public void setConnection(Connection connection)
- Specified by:
setConnection in interface ConnectedEndPoint
dispatch
public void dispatch()
throws IOException
- Throws:
IOException
fill
public int fill(Buffer buffer)
throws IOException
- Specified by:
fill in interface EndPoint- Overrides:
fill in class StreamEndPoint
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface EndPoint- Overrides:
close in class SocketEndPoint
- Throws:
IOException
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.