* java/net/BindException.java,
java/net/JarURLConnection.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/InetSocketAddress.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/MulticastSocket.java,
java/net/PasswordAuthentication.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/URLClassLoader.java,
java/net/URLConnection.java: add/update of some @since/@deprecated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56608
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-08-27 Michael Koch <konqueror@gmx.de>
+
+ * java/net/BindException.java,
+ java/net/JarURLConnection.java,
+ java/net/FileNameMap.java,
+ java/net/HttpURLConnection.java,
+ java/net/InetSocketAddress.java,
+ java/net/DatagramPacket.java,
+ java/net/DatagramSocket.java,
+ java/net/DatagramSocketImpl.java,
+ java/net/MulticastSocket.java,
+ java/net/PasswordAuthentication.java,
+ java/net/ServerSocket.java,
+ java/net/Socket.java,
+ java/net/URLClassLoader.java,
+ java/net/URLConnection.java: add/update of some @since/@deprecated
+
2002-08-27 Tony Kimball <alk@pobox.com>
Tom Tromey <tromey@redhat.com>
*
* @author Aaron M. Renn <arenn@urbanophile.com>
* @author Warren Levy <warrenl@cygnus.com>
+ * @since 1.1
* @status updated to 1.4
*/
public class BindException extends SocketException
* @param offset The offset into the buffer to start writing.
* @param length The maximum number of bytes to read.
*
- * @since Java 1.2
+ * @since 1.2
*/
public DatagramPacket(byte[] buf, int offset, int length)
{
* @param addr The address to send to
* @param port The port to send to
*
- * @since Java 1.2
+ * @since 1.2
*/
public DatagramPacket(byte[] buf, int offset, int length,
InetAddress address, int port)
*
* @return The buffer offset.
*
- * @since Java 1.2
+ * @since 1.2
*/
public synchronized int getOffset()
{
* This sets the address to which the data packet will be transmitted.
*
* @param addr The destination address
+ *
+ * @since 1.1
*/
public synchronized void setAddress(InetAddress iaddr)
{
* This sets the port to which the data packet will be transmitted.
*
* @param port The destination port
+ *
+ * @since 1.1
*/
public synchronized void setPort(int iport)
{
* Sets the data buffer for this packet.
*
* @param buf The new buffer for this packet
+ *
+ * @since 1.1
*/
public synchronized void setData(byte[] buf)
{
* @param offset The offset into the buffer to start reading data from.
* @param length The number of bytes of data in the buffer.
*
- * @since Java 1.2
+ * @since 1.2
*/
public synchronized void setData(byte[] buf, int offset, int length)
{
* Sets the length of the data in the buffer.
*
* @param length The new length. (Where len <= buf.length)
+ *
+ * @since 1.1
*/
public synchronized void setLength(int length)
{
return impl.getLocalPort();
}
+ /**
+ * @since 1.1
+ */
public synchronized int getSoTimeout() throws SocketException
{
Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT);
impl.send(p);
}
+ /**
+ * @since 1.1
+ */
public synchronized void setSoTimeout(int timeout) throws SocketException
{
if (timeout < 0)
*
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Warren Levy <warrenl@cygnus.com>
+ * @since 1.1
*/
public abstract class DatagramSocketImpl implements SocketOptions
{
*
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Warren Levy <warrenl@cygnus.com>
+ * @since 1.1
*/
public interface FileNameMap
{
/**
* @author Warren Levy <warrenl@cygnus.com>
+ * @since 1.1
* @date March 29, 1999.
*/
* InetSocketAddress instances represent socket addresses
* in the java.nio package. They encapsulate a InetAddress and
* a port number.
+ *
+ * @since 1.4
*/
public class InetSocketAddress extends SocketAddress
/**
* @author Kresten Krab Thorup <krab@gnu.org>
+ * @since 1.2
* @date Aug 10, 1999.
*/
*
* @author Warren Levy <warrenl@cygnus.com>
* @author Aaron M. Renn (arenn@urbanophile.com) (Documentation comments)
+ * @since 1.1
* @date May 18, 1999.
*/
public class MulticastSocket extends DatagramSocket
* This class serves a container for username/password pairs.
*
* @author Aaron M. Renn (arenn@urbanophile.com)
+ * @since 1.2
*/
public final class PasswordAuthentication
{
* @param bindAddr The address to bind to, or null to bind to all addresses
*
* @exception IOException If an error occurs
+ *
+ * @since 1.1
*/
public ServerSocket (int port, int backlog, InetAddress bindAddr)
throws java.io.IOException
* @param socket The socket that is used for the accepted connection
*
* @exception IOException If an error occurs
+ *
+ * @since 1.1
*/
protected final void implAccept (Socket s) throws IOException
{
* @param timeout The new SO_TIMEOUT value
*
* @exception IOException If an error occurs
+ *
+ * @since 1.1
*/
public void setSoTimeout (int timeout) throws SocketException
{
* @return The value of SO_TIMEOUT
*
* @exception IOException If an error occurs
+ *
+ * @since 1.1
*/
public int getSoTimeout () throws IOException
{
*
* @exception SocketException If an error occurs or Socket not connected
*
- * @since Java 1.2
+ * @since 1.2
*/
public void setSendBufferSize (int size) throws SocketException
{
*
* @exception SocketException If an error occurs or socket not connected
*
- * @since Java 1.2
+ * @since 1.2
*/
public int getSendBufferSize () throws SocketException
{
*
* @exception SocketException If an error occurs or Socket is not connected
*
- * @since Java 1.2
+ * @since 1.2
*/
public void setReceiveBufferSize (int size) throws SocketException
{
*
* @exception SocketException If an error occurs or Socket is not connected
*
- * @since Java 1.2
+ * @since 1.2
*/
public int getReceiveBufferSize () throws SocketException
{
import java.util.Enumeration;
import java.util.Vector;
+/**
+ * @since 1.2
+ */
public class URLClassLoader extends ClassLoader
{
// The URLStreamHandlerFactory
// default request properties.
}
+ /**
+ * @deprecated 1.3
+ */
public static String getDefaultRequestProperty(String key)
{
// Overridden by subclasses that support default request properties.
// TODO12: protected void parseURL(URL u, String spec, int start, int limit)
- // JDK1.2
+ /**
+ * @since 1.2
+ */
public static FileNameMap getFileNameMap()
{
return fileNameMap;
}
- // JDK1.2
+ /**
+ * @since 1.2
+ */
public static void setFileNameMap(FileNameMap map)
{
// Throw an exception if an extant security mgr precludes