Interface ProtocolSessionObserver


public interface ProtocolSessionObserver
Observer for lifecycle events of a protocol session.
Author:
Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Event enum.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    inform(ProtocolSessionAdapter<T> adapter, javax.servlet.sip.SipApplicationSession session, ProtocolSessionObserver.Event event)
    Inform the observer about the changes to the protocol session.
  • Method Details

    • inform

      <T> void inform(ProtocolSessionAdapter<T> adapter, javax.servlet.sip.SipApplicationSession session, ProtocolSessionObserver.Event event)
      Inform the observer about the changes to the protocol session.
      Parameters:
      adapter - - Adapter to the protocol session.
      session - - The application session.
      event - - Event that caused the change to protocol session.