APIdia Launch Partner
Top Description Fields Constructors Methods
sun.nio.ch.sctp

public Class PeerAddrChange

extends PeerAddressChangeNotification
implements SctpNotification
Class Inheritance
All Implemented Interfaces
sun.nio.ch.sctp.SctpNotification, com.sun.nio.sctp.Notification
Imports
java.net.SocketAddress, com.sun.nio.sctp.Association, .PeerAddressChangeNotification, java.lang.annotation.Native

An implementation of PeerAddressChangeNotification

Field Summary

Modifier and TypeField and Description
private final SocketAddress
private Association
private final int
private final PeerAddressChangeNotification.AddressChangeEvent
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
private
PeerAddrChange(int assocId, SocketAddress address, int intEvent)

Method Summary

Modifier and TypeMethod and Description
public SocketAddress
address()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.address.

Returns the peer address.

public Association
association()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.association.

Implements com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

public int
public PeerAddressChangeNotification.AddressChangeEvent
event()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.event.

Returns the type of change event.

public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

addressback to summary
private final SocketAddress address
associationback to summary
private Association association
assocIdback to summary
private final int assocId
eventback to summary
private final PeerAddressChangeNotification.AddressChangeEvent event
SCTP_ADDR_ADDEDback to summary
private static final int SCTP_ADDR_ADDED
Annotations
@Native
SCTP_ADDR_AVAILABLEback to summary
private static final int SCTP_ADDR_AVAILABLE
Annotations
@Native
SCTP_ADDR_CONFIRMEDback to summary
private static final int SCTP_ADDR_CONFIRMED
Annotations
@Native
SCTP_ADDR_MADE_PRIMback to summary
private static final int SCTP_ADDR_MADE_PRIM
Annotations
@Native
SCTP_ADDR_REMOVEDback to summary
private static final int SCTP_ADDR_REMOVED
Annotations
@Native
SCTP_ADDR_UNREACHABLEback to summary
private static final int SCTP_ADDR_UNREACHABLE
Annotations
@Native

Constructor Detail

PeerAddrChangeback to summary
private PeerAddrChange(int assocId, SocketAddress address, int intEvent)

Method Detail

addressback to summary
public SocketAddress address()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.address.

Doc from com.sun.nio.sctp.PeerAddressChangeNotification.address.

Returns the peer address.

Annotations
@Override
associationback to summary
public Association association()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.association.

Implements com.sun.nio.sctp.Notification.association.

Doc from com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

Annotations
@Override
assocIdback to summary
public int assocId()

Implements sun.nio.ch.sctp.SctpNotification.assocId.

Annotations
@Override
eventback to summary
public PeerAddressChangeNotification.AddressChangeEvent event()

Implements abstract com.sun.nio.sctp.PeerAddressChangeNotification.event.

Doc from com.sun.nio.sctp.PeerAddressChangeNotification.event.

Returns the type of change event.

Annotations
@Override
setAssociationback to summary
public void setAssociation(Association association)

Implements sun.nio.ch.sctp.SctpNotification.setAssociation.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override