org.eclipse.jetty.server.bio
类 SocketConnector.ConnectorEndPoint
java.lang.Object
org.eclipse.jetty.io.bio.StreamEndPoint
org.eclipse.jetty.io.bio.SocketEndPoint
org.eclipse.jetty.server.bio.SocketConnector.ConnectorEndPoint
- 所有已实现的接口:
- Runnable, ConnectedEndPoint, EndPoint
- 直接已知子类:
- SslSocketConnector.SslConnectorEndPoint
- 包容类:
- SocketConnector
protected class SocketConnector.ConnectorEndPoint
- extends SocketEndPoint
- implements Runnable, ConnectedEndPoint
| 从类 org.eclipse.jetty.io.bio.SocketEndPoint 继承的方法 |
getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, idleExpired, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput, shutdownSocketInput, shutdownSocketOutput, toString |
| 从类 org.eclipse.jetty.io.bio.StreamEndPoint 继承的方法 |
blockReadable, blockWritable, flush, flush, flush, getInputStream, getMaxIdleTime, getOutputStream, isBlocking, isClosed, setInputStream, setOutputStream |
| 从接口 org.eclipse.jetty.io.EndPoint 继承的方法 |
blockReadable, blockWritable, flush, flush, flush, getLocalAddr, getLocalHost, getLocalPort, getMaxIdleTime, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput |
_socket
protected final Socket _socket
SocketConnector.ConnectorEndPoint
public SocketConnector.ConnectorEndPoint(Socket socket)
throws IOException
- 抛出:
IOException
getConnection
public Connection getConnection()
- 指定者:
- 接口
ConnectedEndPoint 中的 getConnection
setConnection
public void setConnection(Connection connection)
- 指定者:
- 接口
ConnectedEndPoint 中的 setConnection
dispatch
public void dispatch()
throws IOException
- 抛出:
IOException
fill
public int fill(Buffer buffer)
throws IOException
- 从接口
EndPoint 复制的描述
- Fill the buffer from the current putIndex to it's capacity from whatever
byte source is backing the buffer. The putIndex is increased if bytes filled.
The buffer may chose to do a compact before filling.
- 指定者:
- 接口
EndPoint 中的 fill - 覆盖:
- 类
StreamEndPoint 中的 fill
- 返回:
- an
int value indicating the number of bytes
filled or -1 if EOF is reached.
- 抛出:
EofException - If input is shutdown or the endpoint is closed.
IOException
close
public void close()
throws IOException
- 从接口
EndPoint 复制的描述
- Close any backing stream associated with the endpoint
- 指定者:
- 接口
EndPoint 中的 close - 覆盖:
- 类
SocketEndPoint 中的 close
- 抛出:
IOException
run
public void run()
- 指定者:
- 接口
Runnable 中的 run
Copyright © 2013. All Rights Reserved.