Top Description Fields Constructors Methods
jnr.unixsocket.impl

pack-priv final Class Common

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, jnr.constants.platform.Errno, jnr.enxio.channels.Native, .NativeException

Helper class, providing common methods.

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv
Common(int fd)

Method Summary

Modifier and TypeMethod and Description
pack-priv int
pack-priv int
pack-priv long
read(ByteBuffer[] dsts, int offset, int length)

pack-priv void
setFD(int fd)

pack-priv int
pack-priv long
write(ByteBuffer[] srcs, int offset, int length)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_fdback to summary
private int _fd

Constructor Detail

Commonback to summary
pack-priv Common(int fd)

Method Detail

getFDback to summary
pack-priv int getFD()
readback to summary
pack-priv int read(ByteBuffer dst) throws IOException
readback to summary
pack-priv long read(ByteBuffer[] dsts, int offset, int length) throws IOException
setFDback to summary
pack-priv void setFD(int fd)
writeback to summary
pack-priv int write(ByteBuffer src) throws IOException
writeback to summary
pack-priv long write(ByteBuffer[] srcs, int offset, int length) throws IOException