summaryrefslogtreecommitdiff
path: root/java/src/Ice/_ObjectDisp.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-01-29 06:49:10 +0000
committerMark Spruiell <mes@zeroc.com>2002-01-29 06:49:10 +0000
commit0001dc614d21380fb22a22566a44e6d2eae88542 (patch)
treec2a50cf5bd26da7ce3844146473989ebac902515 /java/src/Ice/_ObjectDisp.java
parentadding server (diff)
downloadice-0001dc614d21380fb22a22566a44e6d2eae88542.tar.bz2
ice-0001dc614d21380fb22a22566a44e6d2eae88542.tar.xz
ice-0001dc614d21380fb22a22566a44e6d2eae88542.zip
align with stable_31
Diffstat (limited to 'java/src/Ice/_ObjectDisp.java')
-rw-r--r--java/src/Ice/_ObjectDisp.java77
1 files changed, 0 insertions, 77 deletions
diff --git a/java/src/Ice/_ObjectDisp.java b/java/src/Ice/_ObjectDisp.java
deleted file mode 100644
index c77c04dee2c..00000000000
--- a/java/src/Ice/_ObjectDisp.java
+++ /dev/null
@@ -1,77 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2001
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-package Ice;
-
-public class _ObjectDisp implements Dispatcher
-{
- public
- _ObjectDisp()
- {
- _delegate = null;
- }
-
- public
- _ObjectDisp(Ice.Object delegate)
- {
- _delegate = delegate;
- }
-
- public static IceInternal.DispatchStatus
- ice_isA(Ice.Object __obj, IceInternal.Incoming __in, Current __current)
- {
- IceInternal.BasicStream __is = __in.is();
- IceInternal.BasicStream __os = __in.os();
- String __id = __is.readString();
- boolean __ret = __obj.ice_isA(__id, __current);
- __os.writeBool(__ret);
- return IceInternal.DispatchStatus.DispatchOK;
- }
-
- public static IceInternal.DispatchStatus
- ice_ping(Ice.Object __obj, IceInternal.Incoming __in, Current __current)
- {
- __obj.ice_ping(__current);
- return IceInternal.DispatchStatus.DispatchOK;
- }
-
- private static String[] __all =
- {
- "ice_isA",
- "ice_ping"
- };
-
- public IceInternal.DispatchStatus
- __dispatch(IceInternal.Incoming in, Current current)
- {
- int pos = java.util.Arrays.binarySearch(__all, current.operation);
- if (pos < 0)
- {
- return IceInternal.DispatchStatus.DispatchOperationNotExist;
- }
-
- switch (pos)
- {
- case 0:
- {
- return ice_isA(_delegate, in, current);
- }
- case 1:
- {
- return ice_ping(_delegate, in, current);
- }
- }
-
- assert(false);
- return IceInternal.DispatchStatus.DispatchOperationNotExist;
- }
-
- private Ice.Object _delegate;
-}