org.apache.http.nio.reactor
Interface SessionRequest


public interface SessionRequest


Method Summary
 void cancel()
           
 java.lang.Object getAttachment()
           
 int getConnectTimeout()
           
 java.io.IOException getException()
           
 java.net.SocketAddress getLocalAddress()
           
 java.net.SocketAddress getRemoteAddress()
           
 IOSession getSession()
           
 boolean isCompleted()
           
 void setConnectTimeout(int timeout)
           
 void waitFor()
           
 

Method Detail

getRemoteAddress

public java.net.SocketAddress getRemoteAddress()

getLocalAddress

public java.net.SocketAddress getLocalAddress()

getAttachment

public java.lang.Object getAttachment()

isCompleted

public boolean isCompleted()

getSession

public IOSession getSession()

getException

public java.io.IOException getException()

waitFor

public void waitFor()
             throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

setConnectTimeout

public void setConnectTimeout(int timeout)

getConnectTimeout

public int getConnectTimeout()

cancel

public void cancel()


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.