Class RpcServiceNameServer

    • Method Detail

      • getMajorVersion

        public int getMajorVersion()
        Description copied from interface: IRpcService
        Returns the major version of the server side interface. Different major versions are incompatible with one another.
        Specified by:
        getMajorVersion in interface IRpcService
      • getMinorVersion

        public int getMinorVersion()
        Description copied from interface: IRpcService
        Returns the minor version of this server side interface. Different minor versions, within the same major version, are compatible with one another.
        Specified by:
        getMinorVersion in interface IRpcService
      • addSupportedInterfaceVersion

        public void addSupportedInterfaceVersion​(RpcServiceInterfaceVersionDTO ifaceVersion)
        Add an interface version to the registry. This will automatically create an supported interface if necessary.