Class AFTIPCSocketChannel

java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.SocketChannel
org.newsclub.net.unix.AFSocketChannel<org.newsclub.net.unix.AFTIPCSocketAddress>
org.newsclub.net.unix.tipc.AFTIPCSocketChannel
All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, GatheringByteChannel, InterruptibleChannel, NetworkChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel, org.newsclub.net.unix.AFSocketExtensions, org.newsclub.net.unix.AFSomeSocket, org.newsclub.net.unix.AFSomeSocketChannel, org.newsclub.net.unix.AFSomeSocketThing, org.newsclub.net.unix.FileDescriptorAccess, AFTIPCSocketExtensions

public final class AFTIPCSocketChannel extends org.newsclub.net.unix.AFSocketChannel<org.newsclub.net.unix.AFTIPCSocketAddress> implements AFTIPCSocketExtensions
A selectable channel for stream-oriented connecting sockets.
Author:
Christian Kohlschütter
  • Method Details

    • getErrInfo

      public AFTIPCErrInfo getErrInfo()
      Description copied from interface: AFTIPCSocketExtensions
      Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), or null if no error was retrieved.
      Specified by:
      getErrInfo in interface AFTIPCSocketExtensions
      Returns:
      The ErrInfo.
    • getDestName

      public AFTIPCDestName getDestName()
      Description copied from interface: AFTIPCSocketExtensions
      Returns the TIPC "DestName" information from the ancillary receive buffer (if any was set), or null if no DestName was retrieved.
      Specified by:
      getDestName in interface AFTIPCSocketExtensions
      Returns:
      The service address or range (without scope) that was specified by the sender of the message.
    • open

      public static AFTIPCSocketChannel open() throws IOException
      Opens a datagram channel.
      Returns:
      The new channel
      Throws:
      IOException - if an I/O error occurs