| | |
| | | |
| | | |
| | | |
| | | public void handleUnsolicitedNotification( |
| | | final ExtendedResult notification) |
| | | public void handleUnsolicitedNotification(final ExtendedResult notification) |
| | | { |
| | | // Do nothing |
| | | } |
| | |
| | | { |
| | | return connection.searchSingleEntry(request, resultHandler); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public String toString() |
| | | { |
| | | StringBuilder builder = new StringBuilder(); |
| | | builder.append("HeartBeatConnection("); |
| | | builder.append(connection); |
| | | builder.append(')'); |
| | | return builder.toString(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | private final class FutureResultImpl extends |
| | | FutureResultTransformer<AsynchronousConnection, AsynchronousConnection> |
| | | implements FutureResult<AsynchronousConnection>, |
| | | ResultHandler<AsynchronousConnection> |
| | | implements ResultHandler<AsynchronousConnection> |
| | | { |
| | | |
| | | private FutureResultImpl( |
| | |
| | | future.setFutureResult(parentFactory.getAsynchronousConnection(future)); |
| | | return future; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public String toString() |
| | | { |
| | | final StringBuilder builder = new StringBuilder(); |
| | | builder.append("HeartBeatConnectionFactory("); |
| | | builder.append(String.valueOf(parentFactory)); |
| | | builder.append(')'); |
| | | return builder.toString(); |
| | | } |
| | | } |