package YAMI.Connection_Event_Handlers

Public [types] [subprograms]

Types

Connection_Event

   type Connection_Event is
     (New_Incoming_Connection,
      New_Outgoing_Connection,
      Connection_Closed);

Type of connection event.

Handler

   type Handler is limited interface;
   type Handler_Access is access all Handler'Class;

Callback interface for reporting connection events.


Subprograms

Report

   procedure Report (H : in out Handler;
                     Name : in String;
                     Event : in Connection_Event)
      is abstract;

Report the connection event.