Top Fields Constructors Methods
org.newsclub.net.unix

pack-priv final Class AncillaryDataSupport

extends Object
implements Closeable
Class Inheritance
All Implemented Interfaces
java.io.Closeable, java.lang.AutoCloseable
Imports
java.io.Closeable, .FileDescriptor, .IOException, java.net.SocketException, java.nio.ByteBuffer, java.util.ArrayList, .Collections, .HashMap, .List, .Map, com.kohlschutter.annotations.compiletime.SuppressFBWarnings

Field Summary

Modifier and TypeField and Description
private ByteBuffer
private static final ByteBuffer
private static final int
private static final FileDescriptor[]
private final Map<FileDescriptor, Integer>
pack-priv int[]
private final List<FileDescriptor[]>
private int[]
private int[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public void
close()

Implements java.io.Closeable.close.

Closes this stream and releases any system resources associated with it.

public void
pack-priv int
pack-priv FileDescriptor[]
pack-priv int[]
pack-priv int[]
pack-priv boolean
pack-priv void
pack-priv void
pack-priv void
pack-priv void
pack-priv void
pack-priv void
setTipcDestName(int a, int b, int c)

pack-priv void
setTipcErrorInfo(int errorCode, int dataLength)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ancillaryReceiveBufferback to summary
private ByteBuffer ancillaryReceiveBuffer
EMPTY_BUFFERback to summary
private static final ByteBuffer EMPTY_BUFFER
MIN_ANCBUF_LENback to summary
private static final int MIN_ANCBUF_LEN
NO_FILE_DESCRIPTORSback to summary
private static final FileDescriptor[] NO_FILE_DESCRIPTORS
openReceivedFileDescriptorsback to summary
private final Map<FileDescriptor, Integer> openReceivedFileDescriptors
pendingFileDescriptorsback to summary
pack-priv int[] pendingFileDescriptors
Annotations
@SuppressFBWarnings:URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
receivedFileDescriptorsback to summary
private final List<FileDescriptor[]> receivedFileDescriptors
tipcDestNameback to summary
private int[] tipcDestName
tipcErrorInfoback to summary
private int[] tipcErrorInfo

Constructor Detail

AncillaryDataSupportback to summary
pack-priv AncillaryDataSupport()

Method Detail

clearReceivedFileDescriptorsback to summary
pack-priv void clearReceivedFileDescriptors()
closeback to summary
public void close()

Implements java.io.Closeable.close.

Doc from java.io.Closeable.close.

Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

As noted in AutoCloseable#close(), cases where the close may fail require careful attention. It is strongly advised to relinquish the underlying resources and to internally mark the Closeable as closed, prior to throwing the IOException.

Annotations
@Override
ensureAncillaryReceiveBufferSizeback to summary
public void ensureAncillaryReceiveBufferSize(int minSize)
getAncillaryReceiveBufferSizeback to summary
pack-priv int getAncillaryReceiveBufferSize()
getReceivedFileDescriptorsback to summary
pack-priv FileDescriptor[] getReceivedFileDescriptors()
getTIPCDestNameback to summary
pack-priv int[] getTIPCDestName()
getTIPCErrorInfoback to summary
pack-priv int[] getTIPCErrorInfo()
hasOutboundFileDescriptorsback to summary
pack-priv boolean hasOutboundFileDescriptors()
receiveFileDescriptorsback to summary
pack-priv void receiveFileDescriptors(int[] fds) throws IOException
setAncillaryReceiveBufferSizeback to summary
pack-priv void setAncillaryReceiveBufferSize(int size)
setAncillaryReceiveBufferSize0back to summary
pack-priv void setAncillaryReceiveBufferSize0(int size)
setOutboundFileDescriptorsback to summary
pack-priv void setOutboundFileDescriptors(int[] fds)
setOutboundFileDescriptorsback to summary
pack-priv void setOutboundFileDescriptors(FileDescriptor... fdescs) throws IOException
setTipcDestNameback to summary
pack-priv void setTipcDestName(int a, int b, int c)
setTipcErrorInfoback to summary
pack-priv void setTipcErrorInfo(int errorCode, int dataLength)