diff options
Diffstat (limited to 'cs/src/Ice/ProtocolPluginFacade.cs')
-rw-r--r-- | cs/src/Ice/ProtocolPluginFacade.cs | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/cs/src/Ice/ProtocolPluginFacade.cs b/cs/src/Ice/ProtocolPluginFacade.cs index 1d2df8bd1ae..1da53a9c0cb 100644 --- a/cs/src/Ice/ProtocolPluginFacade.cs +++ b/cs/src/Ice/ProtocolPluginFacade.cs @@ -11,77 +11,77 @@ namespace IceInternal { public interface ProtocolPluginFacade { - // - // Get the Communicator instance with which this facade is - // associated. - // - Ice.Communicator getCommunicator(); + // + // Get the Communicator instance with which this facade is + // associated. + // + Ice.Communicator getCommunicator(); - // - // Get the default hostname to be used in endpoints. - // - string getDefaultHost(); + // + // Get the default hostname to be used in endpoints. + // + string getDefaultHost(); - // - // Get the network trace level and category name. - // - int getNetworkTraceLevel(); - string getNetworkTraceCategory(); + // + // Get the network trace level and category name. + // + int getNetworkTraceLevel(); + string getNetworkTraceCategory(); - // - // Register an EndpointFactory. - // - void addEndpointFactory(EndpointFactory factory); + // + // Register an EndpointFactory. + // + void addEndpointFactory(EndpointFactory factory); } public sealed class ProtocolPluginFacadeI : ProtocolPluginFacade { - public - ProtocolPluginFacadeI(Ice.Communicator communicator) - { - _communicator = communicator; - _instance = Ice.Util.getInstance(communicator); - } + public + ProtocolPluginFacadeI(Ice.Communicator communicator) + { + _communicator = communicator; + _instance = Ice.Util.getInstance(communicator); + } - // - // Get the Communicator instance with which this facade is - // associated. - // - public Ice.Communicator getCommunicator() - { - return _communicator; - } + // + // Get the Communicator instance with which this facade is + // associated. + // + public Ice.Communicator getCommunicator() + { + return _communicator; + } - // - // Get the default hostname to be used in endpoints. - // - public string getDefaultHost() - { - return _instance.defaultsAndOverrides().defaultHost; - } + // + // Get the default hostname to be used in endpoints. + // + public string getDefaultHost() + { + return _instance.defaultsAndOverrides().defaultHost; + } - // - // Get the network trace level and category name. - // - public int getNetworkTraceLevel() - { - return _instance.traceLevels().network; - } + // + // Get the network trace level and category name. + // + public int getNetworkTraceLevel() + { + return _instance.traceLevels().network; + } - public string getNetworkTraceCategory() - { - return _instance.traceLevels().networkCat; - } + public string getNetworkTraceCategory() + { + return _instance.traceLevels().networkCat; + } - // - // Register an EndpointFactory. - // - public void addEndpointFactory(EndpointFactory factory) - { - _instance.endpointFactoryManager().add(factory); - } + // + // Register an EndpointFactory. + // + public void addEndpointFactory(EndpointFactory factory) + { + _instance.endpointFactoryManager().add(factory); + } - private Instance _instance; - private Ice.Communicator _communicator; + private Instance _instance; + private Ice.Communicator _communicator; } } |