jdk/src/solaris/classes/sun/nio/ch/DatagramDispatcher.java
changeset 2057 3acf8e5e2ca0
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
2056:115e09b7a004 2057:3acf8e5e2ca0
     1 /*
     1 /*
     2  * Copyright 2001-2005 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2001-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
    54     long writev(FileDescriptor fd, long address, int len) throws IOException {
    54     long writev(FileDescriptor fd, long address, int len) throws IOException {
    55         return writev0(fd, address, len);
    55         return writev0(fd, address, len);
    56     }
    56     }
    57 
    57 
    58     void close(FileDescriptor fd) throws IOException {
    58     void close(FileDescriptor fd) throws IOException {
    59         FileDispatcher.close0(fd);
    59         FileDispatcherImpl.close0(fd);
    60     }
    60     }
    61 
    61 
    62     void preClose(FileDescriptor fd) throws IOException {
    62     void preClose(FileDescriptor fd) throws IOException {
    63         FileDispatcher.preClose0(fd);
    63         FileDispatcherImpl.preClose0(fd);
    64     }
    64     }
    65 
    65 
    66     static native int read0(FileDescriptor fd, long address, int len)
    66     static native int read0(FileDescriptor fd, long address, int len)
    67         throws IOException;
    67         throws IOException;
    68 
    68