summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectImpl.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2012-06-01 15:18:35 -0700
committerMark Spruiell <mes@zeroc.com>2012-06-01 15:18:35 -0700
commitf8f74e93981c92113c486b6c5b2752de36e95752 (patch)
tree85ba37ff9eed6bf417ad3ab1c3343415c7f9c421 /java/src/Ice/ObjectImpl.java
parentremoving hasObjects/clearObjects from SlicedData (diff)
downloadice-f8f74e93981c92113c486b6c5b2752de36e95752.tar.bz2
ice-f8f74e93981c92113c486b6c5b2752de36e95752.tar.xz
ice-f8f74e93981c92113c486b6c5b2752de36e95752.zip
Java port
Diffstat (limited to 'java/src/Ice/ObjectImpl.java')
-rw-r--r--java/src/Ice/ObjectImpl.java55
1 files changed, 13 insertions, 42 deletions
diff --git a/java/src/Ice/ObjectImpl.java b/java/src/Ice/ObjectImpl.java
index 8e53c69c532..6d2352d6075 100644
--- a/java/src/Ice/ObjectImpl.java
+++ b/java/src/Ice/ObjectImpl.java
@@ -352,70 +352,41 @@ public abstract class ObjectImpl implements Object, java.lang.Cloneable, java.io
assert(false);
throw new Ice.OperationNotExistException(current.id, current.facet, current.operation);
}
-
+
public DispatchStatus
__collocDispatch(IceInternal.Direct request)
{
return request.run(this);
}
-
public void
__write(IceInternal.BasicStream __os)
{
- __os.writeTypeId(ice_staticId());
- __os.startWriteSlice();
- __os.writeSize(0); // For compatibility with the old AFM.
- __os.endWriteSlice();
}
public void
- __read(IceInternal.BasicStream __is, boolean __rid)
+ __writeImpl(IceInternal.BasicStream __os)
{
- if(__rid)
- {
- __is.readTypeId();
- }
-
- __is.startReadSlice();
+ }
- // For compatibility with the old AFM.
- int sz = __is.readSize();
- if(sz != 0)
- {
- throw new MarshalException();
- }
+ public void
+ __read(IceInternal.BasicStream __is)
+ {
+ }
- __is.endReadSlice();
+ public void
+ __readImpl(IceInternal.BasicStream __is)
+ {
}
public void
__write(Ice.OutputStream __outS)
{
- __outS.writeTypeId(ice_staticId());
- __outS.startSlice();
- __outS.writeSize(0); // For compatibility with the old AFM.
- __outS.endSlice();
}
public void
- __read(Ice.InputStream __inS, boolean __rid)
+ __read(Ice.InputStream __inS)
{
- if(__rid)
- {
- __inS.readTypeId();
- }
-
- __inS.startSlice();
-
- // For compatibility with the old AFM.
- int sz = __inS.readSize();
- if(sz != 0)
- {
- throw new MarshalException();
- }
-
- __inS.endSlice();
}
private static String
@@ -443,11 +414,11 @@ public abstract class ObjectImpl implements Object, java.lang.Cloneable, java.io
{
if(expected != received)
{
- if(expected == Ice.OperationMode.Idempotent
+ if(expected == Ice.OperationMode.Idempotent
&& received == Ice.OperationMode.Nonmutating)
{
//
- // Fine: typically an old client still using the
+ // Fine: typically an old client still using the
// deprecated nonmutating keyword
//
}