diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-11-27 11:58:35 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-11-27 11:58:35 +0100 |
commit | 47f800495093fd7679a315e2d730fea22f6135b7 (patch) | |
tree | a7b8d3488f3841367dd03d10cae293f36fd10481 /java/src/IceInternal/RequestHandler.java | |
parent | Fixed SystemException to no longer derive from LocalException (diff) | |
download | ice-47f800495093fd7679a315e2d730fea22f6135b7.tar.bz2 ice-47f800495093fd7679a315e2d730fea22f6135b7.tar.xz ice-47f800495093fd7679a315e2d730fea22f6135b7.zip |
- Added support for non-blocking AMI/batch requests, connection
creation.
- Added support for AMI oneway requests.
- Changed collocation optimization to not perform any DNS lookups.
Diffstat (limited to 'java/src/IceInternal/RequestHandler.java')
-rw-r--r-- | java/src/IceInternal/RequestHandler.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/java/src/IceInternal/RequestHandler.java b/java/src/IceInternal/RequestHandler.java new file mode 100644 index 00000000000..49df9e6bc8d --- /dev/null +++ b/java/src/IceInternal/RequestHandler.java @@ -0,0 +1,34 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +package IceInternal; + +public interface RequestHandler +{ + void prepareBatchRequest(BasicStream out); + void finishBatchRequest(BasicStream out); + void abortBatchRequest(); + + Ice.ConnectionI sendRequest(Outgoing out) + throws LocalExceptionWrapper; + + void sendAsyncRequest(OutgoingAsync out); + + boolean flushBatchRequests(BatchOutgoing out); + void flushAsyncBatchRequests(BatchOutgoingAsync out); + + Reference getReference(); + + Ice.ConnectionI getConnection(boolean wait); + + Outgoing getOutgoing(String operation, Ice.OperationMode mode, java.util.Map context) + throws LocalExceptionWrapper; + + void reclaimOutgoing(Outgoing out); +} |