[#610] alpha4: DefaultSctpServerChannelConfig options in current java 7

Fix a wrong signature in com.sun.nio.sctp.SctpServerChannel.setOption()
This commit is contained in:
Trustin Lee 2012-09-23 17:25:24 +09:00
parent a156f67804
commit d49d02ffe4

View File

@ -30,13 +30,13 @@ public abstract class SctpServerChannel extends AbstractSelectableChannel {
public static SctpServerChannel open() throws IOException {
return null;
}
protected SctpServerChannel(SelectorProvider provider) {
super(provider);
}
public abstract <T> T getOption(SctpSocketOption<T> name) throws IOException;
public abstract <T> SctpChannel setOption(SctpSocketOption<T> name, T value) throws IOException;
public abstract <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws IOException;
public abstract Set<SocketAddress> getAllLocalAddresses() throws IOException;