Interface HubServerProp.IHubEventHandler

All Known Implementing Classes:
HubPrincipalConnection
Enclosing class:
HubServerProp
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface HubServerProp.IHubEventHandler
The handler of the requests the peer sends: called ONCE per request, on the connection's thread.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(int localID, PropCnr params)
    Called with a request of the peer.
  • Method Details

    • onEvent

      void onEvent(int localID, PropCnr params)
      Called with a request of the peer.
      Parameters:
      localID - The event id.
      params - The parameters, or null for none.