Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.nio
Class NIOUtils

    java.lang.Object
      com.ibm.nio.NIOUtils

    public class NIOUtils

extends java.lang.Object

Utility class for NIO on IBM JRE's.

Constructor Summary
`NIOUtils()`

Method Summary
`static long` | `getFileDescriptor(java.nio.channels.SocketChannel channel)` Retrieve the value of the Socket descriptor represented by the supplied connected java.nio.channels.SocketChannel.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NIOUtils

    public NIOUtils()

Method Detail

### getFileDescriptor

    public static long getFileDescriptor(java.nio.channels.SocketChannel channel)

  Retrieve the value of the Socket descriptor represented by the supplied connected java.nio.channels.SocketChannel.

  Parameters:
    `channel` - A connected java.nio.channels.SocketChannel.
  Returns:
    The value of the socket represented by the supplied SocketChannel
  Throws:
    `java.nio.channels.NotYetConnectedException` - if the SocketChannel is not connected

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD