|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mortbay.io.bio.StreamEndPoint
org.mortbay.io.bio.SocketEndPoint
org.mortbay.jetty.bio.SocketConnector.Connection
protected class SocketConnector.Connection
| Field Summary | |
|---|---|
protected java.net.Socket |
_socket
|
| Constructor Summary | |
|---|---|
SocketConnector.Connection(java.net.Socket socket)
|
|
| Method Summary | |
|---|---|
void |
dispatch()
|
int |
fill(Buffer buffer)
Fill the buffer from the current putIndex to it's capacity from whatever byte source is backing the buffer. |
void |
run()
|
| Methods inherited from class org.mortbay.io.bio.SocketEndPoint |
|---|
close, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isOpen, shutdownOutput |
| Methods inherited from class org.mortbay.io.bio.StreamEndPoint |
|---|
blockReadable, blockWritable, flush, flush, flush, getInputStream, 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 |
| Field Detail |
|---|
protected java.net.Socket _socket
| Constructor Detail |
|---|
public SocketConnector.Connection(java.net.Socket socket)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void dispatch()
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedException
java.io.IOException
public int fill(Buffer buffer)
throws java.io.IOException
EndPoint
fill in interface EndPointfill in class StreamEndPointint value indicating the number of bytes
filled or -1 if EOF is reached.
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||