diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
commit | abada90e3f84dc703b8ddc9efcbed8a946fadead (patch) | |
tree | 2c6f9dccd510ea97cb927a7bd635422efaae547a /java/src/Ice/_ObjectDelM.java | |
parent | removing trace message (diff) | |
download | ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2 ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip |
Expanded tabs into spaces
Diffstat (limited to 'java/src/Ice/_ObjectDelM.java')
-rw-r--r-- | java/src/Ice/_ObjectDelM.java | 248 |
1 files changed, 124 insertions, 124 deletions
diff --git a/java/src/Ice/_ObjectDelM.java b/java/src/Ice/_ObjectDelM.java index 094928e707f..b37bd91733e 100644 --- a/java/src/Ice/_ObjectDelM.java +++ b/java/src/Ice/_ObjectDelM.java @@ -15,44 +15,44 @@ public class _ObjectDelM implements _ObjectDel ice_isA(String __id, java.util.Map __context) throws IceInternal.LocalExceptionWrapper { - IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_isA", OperationMode.Nonmutating, - __context, __compress); + IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_isA", OperationMode.Nonmutating, + __context, __compress); try { - try - { - IceInternal.BasicStream __os = __og.os(); - __os.writeString(__id); - } - catch(LocalException __ex) - { - __og.abort(__ex); - } - boolean __ok = __og.invoke(); - try - { - IceInternal.BasicStream __is = __og.is(); - if(!__ok) - { - try - { - __is.throwException(); - } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } - } - return __is.readBool(); - } - catch(LocalException __ex) - { - throw new IceInternal.LocalExceptionWrapper(__ex, false); - } + try + { + IceInternal.BasicStream __os = __og.os(); + __os.writeString(__id); + } + catch(LocalException __ex) + { + __og.abort(__ex); + } + boolean __ok = __og.invoke(); + try + { + IceInternal.BasicStream __is = __og.is(); + if(!__ok) + { + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } + } + return __is.readBool(); + } + catch(LocalException __ex) + { + throw new IceInternal.LocalExceptionWrapper(__ex, false); + } } finally { - __connection.reclaimOutgoing(__og); + __connection.reclaimOutgoing(__og); } } @@ -60,34 +60,34 @@ public class _ObjectDelM implements _ObjectDel ice_ping(java.util.Map __context) throws IceInternal.LocalExceptionWrapper { - IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_ping", OperationMode.Nonmutating, - __context, __compress); + IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_ping", OperationMode.Nonmutating, + __context, __compress); try { - boolean __ok = __og.invoke(); - try - { - IceInternal.BasicStream __is = __og.is(); - if(!__ok) - { - try - { - __is.throwException(); - } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } - } - } - catch(LocalException __ex) - { - throw new IceInternal.LocalExceptionWrapper(__ex, false); - } + boolean __ok = __og.invoke(); + try + { + IceInternal.BasicStream __is = __og.is(); + if(!__ok) + { + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } + } + } + catch(LocalException __ex) + { + throw new IceInternal.LocalExceptionWrapper(__ex, false); + } } finally { - __connection.reclaimOutgoing(__og); + __connection.reclaimOutgoing(__og); } } @@ -95,35 +95,35 @@ public class _ObjectDelM implements _ObjectDel ice_ids(java.util.Map __context) throws IceInternal.LocalExceptionWrapper { - IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_ids", OperationMode.Nonmutating, - __context, __compress); + IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_ids", OperationMode.Nonmutating, + __context, __compress); try { - boolean __ok = __og.invoke(); - try - { - IceInternal.BasicStream __is = __og.is(); - if(!__ok) - { - try - { - __is.throwException(); - } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } - } - return __is.readStringSeq(); - } - catch(LocalException __ex) - { - throw new IceInternal.LocalExceptionWrapper(__ex, false); - } + boolean __ok = __og.invoke(); + try + { + IceInternal.BasicStream __is = __og.is(); + if(!__ok) + { + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } + } + return __is.readStringSeq(); + } + catch(LocalException __ex) + { + throw new IceInternal.LocalExceptionWrapper(__ex, false); + } } finally { - __connection.reclaimOutgoing(__og); + __connection.reclaimOutgoing(__og); } } @@ -131,35 +131,35 @@ public class _ObjectDelM implements _ObjectDel ice_id(java.util.Map __context) throws IceInternal.LocalExceptionWrapper { - IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_id", OperationMode.Nonmutating, - __context, __compress); + IceInternal.Outgoing __og = __connection.getOutgoing(__reference, "ice_id", OperationMode.Nonmutating, + __context, __compress); try { - boolean __ok = __og.invoke(); - try - { - IceInternal.BasicStream __is = __og.is(); - if(!__ok) - { - try - { - __is.throwException(); - } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } - } - return __is.readString(); - } - catch(LocalException __ex) - { - throw new IceInternal.LocalExceptionWrapper(__ex, false); - } + boolean __ok = __og.invoke(); + try + { + IceInternal.BasicStream __is = __og.is(); + if(!__ok) + { + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } + } + return __is.readString(); + } + catch(LocalException __ex) + { + throw new IceInternal.LocalExceptionWrapper(__ex, false); + } } finally { - __connection.reclaimOutgoing(__og); + __connection.reclaimOutgoing(__og); } } @@ -167,20 +167,20 @@ public class _ObjectDelM implements _ObjectDel ice_invoke(String operation, OperationMode mode, byte[] inParams, ByteSeqHolder outParams, java.util.Map __context) throws IceInternal.LocalExceptionWrapper { - IceInternal.Outgoing __og = __connection.getOutgoing(__reference, operation, mode, __context, __compress); + IceInternal.Outgoing __og = __connection.getOutgoing(__reference, operation, mode, __context, __compress); try { if(inParams != null) { - try - { - IceInternal.BasicStream __os = __og.os(); - __os.writeBlob(inParams); - } - catch(LocalException __ex) - { - __og.abort(__ex); - } + try + { + IceInternal.BasicStream __os = __og.os(); + __os.writeBlob(inParams); + } + catch(LocalException __ex) + { + __og.abort(__ex); + } } boolean ok = __og.invoke(); if(__reference.getMode() == IceInternal.Reference.ModeTwoway) @@ -203,15 +203,15 @@ public class _ObjectDelM implements _ObjectDel } finally { - __connection.reclaimOutgoing(__og); + __connection.reclaimOutgoing(__og); } } public ConnectionI __getConnection(BooleanHolder compress) { - compress.value = __compress; - return __connection; + compress.value = __compress; + return __connection; } // @@ -230,8 +230,8 @@ public class _ObjectDelM implements _ObjectDel // upon initialization. // - assert(__reference == null); - assert(__connection == null); + assert(__reference == null); + assert(__connection == null); __reference = from.__reference; __connection = from.__connection; @@ -250,12 +250,12 @@ public class _ObjectDelM implements _ObjectDel // upon initialization. // - assert(__reference == null); - assert(__connection == null); + assert(__reference == null); + assert(__connection == null); - __reference = ref; - BooleanHolder compress = new BooleanHolder(); - __connection = __reference.getConnection(compress); + __reference = ref; + BooleanHolder compress = new BooleanHolder(); + __connection = __reference.getConnection(compress); __compress = compress.value; } } |