Package jnr.unixsocket.impl
Class Common
java.lang.Object
jnr.unixsocket.impl.Common
Helper class, providing common methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
getFD()
(package private) int
read
(ByteBuffer dst) (package private) long
read
(ByteBuffer[] dsts, int offset, int length) (package private) void
setFD
(int fd) (package private) int
write
(ByteBuffer src) (package private) long
write
(ByteBuffer[] srcs, int offset, int length)
-
Field Details
-
_fd
private int _fd
-
-
Constructor Details
-
Common
Common(int fd)
-
-
Method Details
-
setFD
void setFD(int fd) -
getFD
int getFD() -
read
- Throws:
IOException
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-