src/share/classes/java/net/DatagramSocketImpl.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.net;
  27 
  28 import java.io.FileDescriptor;
  29 import java.io.IOException;
  30 import java.io.InterruptedIOException;
  31 import java.util.Set;
  32 import java.util.HashSet;
  33 
  34 /**
  35  * Abstract datagram and multicast socket implementation base class.
  36  * @author Pavani Diwanji
  37  * @since  JDK1.1
  38  */
  39 
  40 public abstract class DatagramSocketImpl implements SocketOptions {
  41 
  42     /**
  43      * The local port number.
  44      */
  45     protected int localPort;
  46 
  47     /**
  48      * The file descriptor object.
  49      */
  50     protected FileDescriptor fd;
  51 
  52     /**
  53      * The DatagramSocket or MulticastSocket
  54      * that owns this impl
  55      */
  56     DatagramSocket socket;
  57 




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.net;
  27 
  28 import java.io.FileDescriptor;
  29 import java.io.IOException;
  30 import java.io.InterruptedIOException;
  31 import java.util.Set;
  32 import java.util.HashSet;
  33 
  34 /**
  35  * Abstract datagram and multicast socket implementation base class.
  36  * @author Pavani Diwanji
  37  * @since  1.1
  38  */
  39 
  40 public abstract class DatagramSocketImpl implements SocketOptions {
  41 
  42     /**
  43      * The local port number.
  44      */
  45     protected int localPort;
  46 
  47     /**
  48      * The file descriptor object.
  49      */
  50     protected FileDescriptor fd;
  51 
  52     /**
  53      * The DatagramSocket or MulticastSocket
  54      * that owns this impl
  55      */
  56     DatagramSocket socket;
  57