Interface ProtocolHook

  • All Known Subinterfaces:
    ProtocolStackConfigurator
    All Known Implementing Classes:
    XmlConfigurator

    public interface ProtocolHook
    Provides hook(s) that are called when a protocol has been created
    Since:
    3.6.7
    Author:
    Bela Ban
    • Method Detail

      • afterCreation

        void afterCreation​(Protocol prot)
                    throws java.lang.Exception
        Called after all protocols have been created, connected and its attributes set, but before Protocol.init() is called. The order of calling the hooks is from bottom to top protocol.
        Parameters:
        prot - The protocol that was created.
        Throws:
        java.lang.Exception - Thrown is the method failed.