Module jdk.sctp

Class PeerAddressChangeNotification

java.lang.Object
com.sun.nio.sctp.PeerAddressChangeNotification
All Implemented Interfaces:
Notification

public abstract class PeerAddressChangeNotification extends Object implements Notification
Notification emitted when a destination address on a multi-homed peer encounters a change.
Since:
1.7
  • Constructor Details

    • PeerAddressChangeNotification

      protected PeerAddressChangeNotification()
      Initializes a new instance of this class.
  • Method Details

    • address

      public abstract SocketAddress address()
      Returns the peer address.
      Returns:
      The peer address
    • association

      public abstract Association association()
      Returns the association that this notification is applicable to.
      Specified by:
      association in interface Notification
      Returns:
      The association whose peer address changed
    • event

      Returns the type of change event.
      Returns:
      The event