summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ProtocolPluginFacadeI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/ProtocolPluginFacadeI.java')
-rw-r--r--java/src/IceInternal/ProtocolPluginFacadeI.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/src/IceInternal/ProtocolPluginFacadeI.java b/java/src/IceInternal/ProtocolPluginFacadeI.java
index 2d219c36818..ca10a4f412c 100644
--- a/java/src/IceInternal/ProtocolPluginFacadeI.java
+++ b/java/src/IceInternal/ProtocolPluginFacadeI.java
@@ -45,6 +45,16 @@ public class ProtocolPluginFacadeI implements ProtocolPluginFacade
{
return _instance.protocolSupport();
}
+
+ //
+ // Get the default encoding to be used in endpoints.
+ //
+ public Ice.EncodingVersion
+ getDefaultEncoding()
+ {
+ return _instance.defaultsAndOverrides().defaultEncoding;
+ }
+
//
// Get the default hostname to be used in endpoints.
//