jdk/src/solaris/classes/sun/nio/ch/sctp/PeerAddrChange.java
changeset 12317 9670c1610c53
parent 11823 ee83ae88512d
child 14342 8435a30053c1
equal deleted inserted replaced
12316:ba6b7a51e226 12317:9670c1610c53
    25 package sun.nio.ch.sctp;
    25 package sun.nio.ch.sctp;
    26 
    26 
    27 import java.net.SocketAddress;
    27 import java.net.SocketAddress;
    28 import com.sun.nio.sctp.Association;
    28 import com.sun.nio.sctp.Association;
    29 import com.sun.nio.sctp.PeerAddressChangeNotification;
    29 import com.sun.nio.sctp.PeerAddressChangeNotification;
       
    30 import javax.tools.annotation.GenerateNativeHeader;
    30 
    31 
    31 /**
    32 /**
    32  * An implementation of PeerAddressChangeNotification
    33  * An implementation of PeerAddressChangeNotification
    33  */
    34  */
       
    35 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    36 @GenerateNativeHeader
    34 public class PeerAddrChange extends PeerAddressChangeNotification
    37 public class PeerAddrChange extends PeerAddressChangeNotification
    35     implements SctpNotification
    38     implements SctpNotification
    36 {
    39 {
    37     /* static final ints so that they can be referenced from native */
    40     /* static final ints so that they can be referenced from native */
    38     private final static int SCTP_ADDR_AVAILABLE = 1;
    41     private final static int SCTP_ADDR_AVAILABLE = 1;