org.fusesource.fabric.dosgi.tcp
Interface ResponseFuture


public interface ResponseFuture

Author:
Hiram Chirino

Method Summary
 void fail(java.lang.Throwable throwable)
           
 java.lang.Object get(long timeout, java.util.concurrent.TimeUnit unit)
           
 void set(org.fusesource.hawtbuf.DataByteArrayInputStream responseStream)
           
 

Method Detail

set

void set(org.fusesource.hawtbuf.DataByteArrayInputStream responseStream)
         throws java.lang.Exception
Throws:
java.lang.Exception

get

java.lang.Object get(long timeout,
                     java.util.concurrent.TimeUnit unit)
                     throws java.lang.Exception
Throws:
java.lang.Exception

fail

void fail(java.lang.Throwable throwable)


Copyright © 2013 Red Hat. All Rights Reserved.