diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-27 12:29:18 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-27 12:29:18 -0230 |
commit | 781e357a2e4703af1d292d1169ad9f1249792330 (patch) | |
tree | b49458392e6e3d99dc97e5f817d499276768a1d4 /java/src/IceInternal/EndpointFactoryManager.java | |
parent | Bug 3502: Improve javadoc support in Eclipse (diff) | |
download | ice-781e357a2e4703af1d292d1169ad9f1249792330.tar.bz2 ice-781e357a2e4703af1d292d1169ad9f1249792330.tar.xz ice-781e357a2e4703af1d292d1169ad9f1249792330.zip |
Bug 3964 - improve endpoint info
Diffstat (limited to 'java/src/IceInternal/EndpointFactoryManager.java')
-rw-r--r-- | java/src/IceInternal/EndpointFactoryManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/IceInternal/EndpointFactoryManager.java b/java/src/IceInternal/EndpointFactoryManager.java index 4e7c302b248..de816428863 100644 --- a/java/src/IceInternal/EndpointFactoryManager.java +++ b/java/src/IceInternal/EndpointFactoryManager.java @@ -83,7 +83,7 @@ public final class EndpointFactoryManager java.nio.ByteBuffer buf = bs.getBuffer(); buf.position(0); short type = bs.readShort(); - EndpointI ue = new IceInternal.UnknownEndpointI(type, bs); + EndpointI ue = new IceInternal.OpaqueEndpointI(type, bs); System.err.println("Normal: " + e); System.err.println("Opaque: " + ue); return e; @@ -97,7 +97,7 @@ public final class EndpointFactoryManager // if(protocol.equals("opaque")) { - EndpointI ue = new UnknownEndpointI(s.substring(m.end())); + EndpointI ue = new OpaqueEndpointI(s.substring(m.end())); for(int i = 0; i < _factories.size(); i++) { EndpointFactory f = _factories.get(i); @@ -135,7 +135,7 @@ public final class EndpointFactoryManager return f.read(s); } } - return new UnknownEndpointI(type, s); + return new OpaqueEndpointI(type, s); } void |