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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called after all protocols have been created, connected and its attributes set, but before Protocol.init() is called.
  • Method Details

    • afterCreation

      void afterCreation(Protocol prot) throws 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:
      Exception - Thrown is the method failed.