Class RegistryHandler

    • Constructor Detail

      • RegistryHandler

        public RegistryHandler()
    • Method Detail

      • getRegistryZones

        public static RegistryHandler.RegistryZones getRegistryZones()
        Gets the registry zones stored in the handler.
        Returns:
        Registry zones containing the stored zone information.
      • doRegistryCreate

        protected EPPEventResponse doRegistryCreate​(EPPEvent aEvent,
                                                    java.lang.Object aData)
        Invoked when a Registry Create command is received. This method will add the zone to the cache if it doesn't already exist.
        Specified by:
        doRegistryCreate in class EPPRegistryHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPRegistryHandler
        Returns:
        The EPPEventResponse that should be sent back to the client.
      • doRegistryUpdate

        protected EPPEventResponse doRegistryUpdate​(EPPEvent aEvent,
                                                    java.lang.Object aData)
        Invoked when a Registry Update command is received. This method will update the zone to the cache if it already exists. An error is returned if the zone doesn't exist.
        Specified by:
        doRegistryUpdate in class EPPRegistryHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPRegistryHandler
        Returns:
        The EPPEventResponse that should be sent back to the client.
      • doRegistryCheck

        protected EPPEventResponse doRegistryCheck​(EPPEvent aEvent,
                                                   java.lang.Object aData)
        Invoked when a Registry Check command is received. This method will back the check results on the zones loaded into the cache.
        Specified by:
        doRegistryCheck in class EPPRegistryHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPRegistryHandler
        Returns:
        EPPEventResponse The response that should be sent back to the client.
      • doRegistryInfo

        protected EPPEventResponse doRegistryInfo​(EPPEvent aEvent,
                                                  java.lang.Object aData)
        Invoked when a Registry Info command is received. This method supports the three forms of the info command, which include:
        • All - Get a summary list of all zones in the cache.
        • Zone - Get detailed zone information from a zone in the cache.
        • System - Get the Registry system information
        Specified by:
        doRegistryInfo in class EPPRegistryHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPRegistryHandler
        Returns:
        EPPEventResponse The response that should be sent back to the client.
      • doRegistryDelete

        protected EPPEventResponse doRegistryDelete​(EPPEvent aEvent,
                                                    java.lang.Object aData)
        Invoked when a Registry Delete command is received. This method will delete the zone from the cache if it exists. An error is returned back if the zone doesn't already exist.
        Specified by:
        doRegistryDelete in class EPPRegistryHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPRegistryHandler
        Returns:
        The EPPEventResponse that should be sent back to the client.