Module java.base
Package java.nio.channels

# Class SocketChannel

=
public abstract class SocketChannel
extends java.nio.channels.spi.AbstractSelectableChannel
implements java.nio.channels.ByteChannel, java.nio.channels.GatheringByteChannel, java.nio.channels.NetworkChannel, java.nio.channels.ScatteringByteChannel

## Constructors

- =
  protected SocketChannel(java.nio.channels.spi.SelectorProvider arg0)

## Methods

- =
  public abstract java.nio.channels.SocketChannel bind(java.net.SocketAddress arg0) throws java.io.IOException
- =
  public abstract boolean connect(java.net.SocketAddress arg0) throws java.io.IOException
- =
  public abstract boolean finishConnect() throws java.io.IOException
- =
  public abstract java.net.SocketAddress getLocalAddress() throws java.io.IOException
- =
  public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException
- =
  public abstract boolean isConnected()
- =
  public abstract boolean isConnectionPending()
- =
  public static java.nio.channels.SocketChannel open() throws java.io.IOException
- =
  public static java.nio.channels.SocketChannel open(java.net.ProtocolFamily arg0) throws java.io.IOException
- =
  public static java.nio.channels.SocketChannel open(java.net.SocketAddress arg0) throws java.io.IOException
- =
  public final long read(java.nio.ByteBuffer[] arg0) throws java.io.IOException
- =
  public abstract long read(java.nio.ByteBuffer[] arg0, int arg1, int arg2) throws java.io.IOException
- =
  public abstract int read(java.nio.ByteBuffer arg0) throws java.io.IOException
- =
  public abstract <T> java.nio.channels.SocketChannel setOption(java.net.SocketOption<T> arg0, T arg1) throws java.io.IOException
- =
  public abstract java.nio.channels.SocketChannel shutdownInput() throws java.io.IOException
- =
  public abstract java.nio.channels.SocketChannel shutdownOutput() throws java.io.IOException
- =
  public abstract java.net.Socket socket()
- =
  public final int validOps()
- =
  public final long write(java.nio.ByteBuffer[] arg0) throws java.io.IOException
- =
  public abstract long write(java.nio.ByteBuffer[] arg0, int arg1, int arg2) throws java.io.IOException
- =
  public abstract int write(java.nio.ByteBuffer arg0) throws java.io.IOException

## Summary

No differences.