544 lines · 15.8 KB · Java
RawDownload
        }    }     /**     * Enable/disable SO_REUSEADDR.     * @see java.net.Socket#setReuseAddress     */    public final void setReuseAddress(boolean on) throws SocketException {        if (self == this) {            super.setReuseAddress(on);        } else {            self.setReuseAddress(on);        }    }     /**     * Tests if SO_REUSEADDR is enabled.     * @see java.net.Socket#getReuseAddress     */    public final boolean getReuseAddress() throws SocketException {        if (self == this) {            return super.getReuseAddress();        } else {            return self.getReuseAddress();        }    }     /**     * Sets performance preferences for this socket.     *     * @see java.net.Socket#setPerformancePreferences(int, int, int)     */    public void setPerformancePreferences(int connectionTime,            int latency, int bandwidth) {        if (self == this) {            super.setPerformancePreferences(                connectionTime, latency, bandwidth);        } else {            self.setPerformancePreferences(                connectionTime, latency, bandwidth);        }    } }

Lines 501–544 of 544. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t