1 /* 2 * Copyright 2012 The Netty Project 3 * 4 * The Netty Project licenses this file to you under the Apache License, 5 * version 2.0 (the "License"); you may not use this file except in compliance 6 * with the License. You may obtain a copy of the License at: 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 * License for the specific language governing permissions and limitations 14 * under the License. 15 */ 16 package io.netty5.channel.socket; 17 18 import io.netty5.channel.ChannelOption; 19 import io.netty5.channel.ServerChannel; 20 21 /** 22 * A Socket {@link ServerChannel} which accepts incoming Socket connections. 23 * 24 * <h3>Available options</h3> 25 * 26 * In addition to the options provided by {@link ServerChannel}, 27 * {@link ServerSocketChannel} allows the following options in the 28 * option map: 29 * 30 * <table border="1" cellspacing="0" cellpadding="6"> 31 * <tr> 32 * <th>{@link ChannelOption}</th> 33 * <th>{@code INET}</th> 34 * <th>{@code INET6}</th> 35 * <th>{@code UNIX}</th> 36 * </tr><tr> 37 * <td>{@link ChannelOption#SO_BACKLOG}</td><td>X</td><td>X</td><td>X</td> 38 * </tr><tr> 39 * <td>{@link ChannelOption#SO_REUSEADDR}</td><td>X</td><td>X</td><td>-</td> 40 * </tr><tr> 41 * <td>{@link ChannelOption#SO_RCVBUF}</td><td>X</td><td>X</td><td>X</td> 42 * </tr> 43 * </table> 44 */ 45 public interface ServerSocketChannel extends ServerChannel { 46 // Marker interface 47 }