Module org.newsclub.net.unix.tipc
Package org.newsclub.net.unix.tipc
Interface AFTIPCSocketExtensions
- All Superinterfaces:
org.newsclub.net.unix.AFSocketExtensions
- All Known Implementing Classes:
AFTIPCDatagramChannel
,AFTIPCDatagramSocket
,AFTIPCSocket
,AFTIPCSocketChannel
public interface AFTIPCSocketExtensions
extends org.newsclub.net.unix.AFSocketExtensions
Defines certain methods that all junixsocket AF_TIPC socket implementations share and extend
beyond the standard socket API.
- Author:
- Christian Kohlschütter
-
Method Summary
Modifier and TypeMethodDescriptionReturns the TIPC "DestName" information from the ancillary receive buffer (if any was set), ornull
if no DestName was retrieved.Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), ornull
if no error was retrieved.Methods inherited from interface org.newsclub.net.unix.AFSocketExtensions
ensureAncillaryReceiveBufferSize, getAncillaryReceiveBufferSize, setAncillaryReceiveBufferSize
-
Method Details
-
getErrInfo
AFTIPCErrInfo getErrInfo()Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), ornull
if no error was retrieved.- Returns:
- The ErrInfo.
-
getDestName
AFTIPCDestName getDestName()Returns the TIPC "DestName" information from the ancillary receive buffer (if any was set), ornull
if no DestName was retrieved.- Returns:
- The service address or range (without scope) that was specified by the sender of the message.
-