- All Superinterfaces:
AFSomeSocketThing
,AutoCloseable
,Closeable
,FileDescriptorAccess
- All Known Implementing Classes:
AFDatagramChannel
,AFDatagramSocket
,AFSocket
,AFSocketChannel
,AFSYSTEMDatagramChannel
,AFSYSTEMDatagramSocket
,AFSYSTEMSocket
,AFSYSTEMSocketChannel
,AFTIPCDatagramChannel
,AFTIPCDatagramSocket
,AFTIPCSocket
,AFTIPCSocketChannel
,AFUNIXDatagramChannel
,AFUNIXDatagramSocket
,AFUNIXSocket
,AFUNIXSocketChannel
,AFVSOCKDatagramChannel
,AFVSOCKDatagramSocket
,AFVSOCKSocket
,AFVSOCKSocketChannel
Marker interface that combines junixsocket-based
SocketChannel
s, Socket
s,
DatagramChannel
s and DatagramSocket
s.- Author:
- Christian Kohlschütter
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable SocketAddress
Returns the socket's remote socket address, ornull
if unavailable/not connected, or if there was a problem retrieving it.Methods inherited from interface org.newsclub.net.unix.AFSomeSocketThing
getLocalSocketAddress, setShutdownOnClose
Methods inherited from interface org.newsclub.net.unix.FileDescriptorAccess
getFileDescriptor
-
Method Details
-
getRemoteSocketAddress
@Nullable SocketAddress getRemoteSocketAddress()Returns the socket's remote socket address, ornull
if unavailable/not connected, or if there was a problem retrieving it.- Returns:
- The remote socket address, or
null
.
-