com.sun.grizzly.tcp
Class Response.ResponseAttachment<A>

java.lang.Object
  extended by com.sun.grizzly.tcp.Response.ResponseAttachment<A>
Enclosing class:
Response<A>

public static class Response.ResponseAttachment<A>
extends Object


Constructor Summary
Response.ResponseAttachment(Long timeout, A attachment, CompletionHandler<? super A> completionHandler, Response response)
           
 
Method Summary
 A getAttachment()
           
 CompletionHandler<? super A> getCompletionHandler()
           
 Long getExpirationTime()
           
 void resetTimeout()
           
 void resume()
           
 void timeout()
           
 void timeout(boolean forceClose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response.ResponseAttachment

public Response.ResponseAttachment(Long timeout,
                                   A attachment,
                                   CompletionHandler<? super A> completionHandler,
                                   Response response)
Method Detail

getAttachment

public A getAttachment()

getCompletionHandler

public CompletionHandler<? super A> getCompletionHandler()

resetTimeout

public void resetTimeout()

getExpirationTime

public Long getExpirationTime()

resume

public void resume()

timeout

public void timeout()

timeout

public void timeout(boolean forceClose)


Copyright © 2009 SUN Microsystems. All Rights Reserved.