public interface ResponseFuture<T extends Response>
A future for services to wait for and get responses from.
T get() throws SmppException
Block until the response is available, then return it.
SmppException
T get(int timeout, java.util.concurrent.TimeUnit units) throws SmppException
Block with timeout until the response is available, then return it.
timeout
- length of timeoutunits
- units for timeout valueSmppException