APIdia Launch Partner
Top Description Inners Constructors Methods
com.sun.nio.sctp

public abstract Class PeerAddressChangeNotification

extends Object
implements Notification
Class Inheritance
All Implemented Interfaces
com.sun.nio.sctp.Notification
Known Direct Subclasses
sun.nio.ch.sctp.PeerAddrChange
Imports
java.net.SocketAddress

Notification emitted when a destination address on a multi-homed peer encounters a change.
Since
1.7

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
PeerAddressChangeNotification.AddressChangeEvent

Defines the type of address change event that occurred to the destination address on a multi-homed peer when it encounters a change of interface details.

Constructor Summary

AccessConstructor and Description
protected
PeerAddressChangeNotification()

Initializes a new instance of this class.

Method Summary

Modifier and TypeMethod and Description
public abstract SocketAddress

Returns:

The peer address
address
()

Returns the peer address.

public abstract Association

Returns:

The association whose peer address changed
association
()

Redeclares com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

public abstract PeerAddressChangeNotification.AddressChangeEvent

Returns:

The event
event
()

Returns the type of change event.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PeerAddressChangeNotificationback to summary
protected PeerAddressChangeNotification()

Initializes a new instance of this class.

Method Detail

addressback to summary
public abstract SocketAddress address()

Returns the peer address.

Returns:SocketAddress

The peer address

associationback to summary
public abstract Association association()

Redeclares com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

Returns:Association

The association whose peer address changed

eventback to summary
public abstract PeerAddressChangeNotification.AddressChangeEvent event()

Returns the type of change event.

Returns:PeerAddressChangeNotification.AddressChangeEvent

The event

com.sun.nio.sctp back to summary

public final Enum PeerAddressChangeNotification.AddressChangeEvent

extends Enum<PeerAddressChangeNotification.AddressChangeEvent>
Class Inheritance

Defines the type of address change event that occurred to the destination address on a multi-homed peer when it encounters a change of interface details.

Some of these events types are only generated when the association supports dynamic address reconfiguration, e.g. SCTP_ADDR_ADDED, SCTP_ADDR_REMOVED, etc.

Since
1.7

Field Summary

Modifier and TypeField and Description
public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_ADDED

The address is now part of the association.

public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_AVAILABLE

This address is now reachable.

public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_CONFIRMED

This address has now been confirmed as a valid address.

public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_MADE_PRIMARY

This address has now been made to be the primary destination address.

public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_REMOVED

The address is no longer part of the association.

public static final PeerAddressChangeNotification.AddressChangeEvent
ADDR_UNREACHABLE

The address specified can no longer be reached.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PeerAddressChangeNotification.AddressChangeEvent
public static PeerAddressChangeNotification.AddressChangeEvent[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ADDR_ADDEDback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_ADDED

The address is now part of the association.

ADDR_AVAILABLEback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_AVAILABLE

This address is now reachable.

ADDR_CONFIRMEDback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_CONFIRMED

This address has now been confirmed as a valid address.

ADDR_MADE_PRIMARYback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_MADE_PRIMARY

This address has now been made to be the primary destination address.

ADDR_REMOVEDback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_REMOVED

The address is no longer part of the association.

ADDR_UNREACHABLEback to summary
public static final PeerAddressChangeNotification.AddressChangeEvent ADDR_UNREACHABLE

The address specified can no longer be reached. Any data sent to this address is rerouted to an alternate until this address becomes reachable.

Constructor Detail

AddressChangeEventback to summary
private AddressChangeEvent()

Method Detail

valueOfback to summary
public static PeerAddressChangeNotification.AddressChangeEvent valueOf(String name)
valuesback to summary
public static PeerAddressChangeNotification.AddressChangeEvent[] values()