Interface AFTIPCSocketExtensions
- All Superinterfaces:
AFSocketExtensions
- All Known Implementing Classes:
AFTIPCDatagramChannel, AFTIPCDatagramSocket, AFTIPCSocket, AFTIPCSocketChannel
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), ornullif no DestName was retrieved.Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), ornullif no error was retrieved.Methods inherited from interface AFSocketExtensions
ensureAncillaryReceiveBufferSize, getAncillaryReceiveBufferSize, setAncillaryReceiveBufferSizeModifier and TypeMethodDescriptionvoidensureAncillaryReceiveBufferSize(int minSize) Ensures a minimum ancillary receive buffer size.intReturns the size of the receive buffer for ancillary messages (in bytes).voidsetAncillaryReceiveBufferSize(int size) Sets the size of the receive buffer for ancillary messages (in bytes).
-
Method Details
-
getErrInfo
AFTIPCErrInfo getErrInfo()Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), ornullif no error was retrieved.- Returns:
- The ErrInfo.
-
getDestName
AFTIPCDestName getDestName()Returns the TIPC "DestName" information from the ancillary receive buffer (if any was set), ornullif no DestName was retrieved.- Returns:
- The service address or range (without scope) that was specified by the sender of the message.
-