Class AFTIPCSocketChannel

All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, GatheringByteChannel, InterruptibleChannel, NetworkChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel, AFSocketExtensions, AFSomeSocket, AFSomeSocketChannel, AFSomeSocketThing, FileDescriptorAccess, AFTIPCSocketExtensions

public final class AFTIPCSocketChannel extends AFSocketChannel<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