org.eclipse.jetty.server.bio
Class SocketConnector.ConnectorEndPoint

java.lang.Object
  extended by org.eclipse.jetty.io.bio.StreamEndPoint
      extended by org.eclipse.jetty.io.bio.SocketEndPoint
          extended by org.eclipse.jetty.server.bio.SocketConnector.ConnectorEndPoint
All Implemented Interfaces:
Runnable, org.eclipse.jetty.io.ConnectedEndPoint, org.eclipse.jetty.io.EndPoint
Direct Known Subclasses:
SslSocketConnector.SslConnectorEndPoint
Enclosing class:
SocketConnector

protected class SocketConnector.ConnectorEndPoint
extends org.eclipse.jetty.io.bio.SocketEndPoint
implements Runnable, org.eclipse.jetty.io.ConnectedEndPoint


Field Summary
protected  Socket _socket
           
 
Constructor Summary
SocketConnector.ConnectorEndPoint(Socket socket)
           
 
Method Summary
 void close()
           
 void dispatch()
           
 int fill(org.eclipse.jetty.io.Buffer buffer)
           
 org.eclipse.jetty.io.Connection getConnection()
           
 void run()
           
 void setConnection(org.eclipse.jetty.io.Connection connection)
           
 
Methods inherited from class org.eclipse.jetty.io.bio.SocketEndPoint
getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, idleExpired, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput
 
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, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput
 

Field Detail

_socket

protected final Socket _socket
Constructor Detail

SocketConnector.ConnectorEndPoint

public SocketConnector.ConnectorEndPoint(Socket socket)
                                  throws IOException
Throws:
IOException
Method Detail

getConnection

public org.eclipse.jetty.io.Connection getConnection()
Specified by:
getConnection in interface org.eclipse.jetty.io.ConnectedEndPoint

setConnection

public void setConnection(org.eclipse.jetty.io.Connection connection)
Specified by:
setConnection in interface org.eclipse.jetty.io.ConnectedEndPoint

dispatch

public void dispatch()
              throws IOException
Throws:
IOException

fill

public int fill(org.eclipse.jetty.io.Buffer buffer)
         throws IOException
Specified by:
fill in interface org.eclipse.jetty.io.EndPoint
Overrides:
fill in class org.eclipse.jetty.io.bio.StreamEndPoint
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface org.eclipse.jetty.io.EndPoint
Overrides:
close in class org.eclipse.jetty.io.bio.SocketEndPoint
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.