Interface AFSomeSocket

All Superinterfaces:
AFSomeSocketThing, AutoCloseable, Closeable, FileDescriptorAccess
All Known Implementing Classes:
AFDatagramChannel, AFDatagramSocket, AFSocket, AFSocketChannel, AFUNIXDatagramChannel, AFUNIXDatagramSocket, AFUNIXSocket, AFUNIXSocketChannel

public interface AFSomeSocket extends AFSomeSocketThing
Marker interface that combines junixsocket-based SocketChannels, Sockets, DatagramChannels and DatagramSockets.
Author:
Christian Kohlschütter
See Also:
  • Method Details

    • getRemoteSocketAddress

      @Nullable SocketAddress getRemoteSocketAddress()
      Returns the socket's remote socket address, or null if unavailable/not connected, or if there was a problem retrieving it.
      Returns:
      The remote socket address, or null.