public class UnixChannel extends java.lang.Object implements UnixDomainSocketChannel
| Constructor and Description | 
|---|
UnixChannel(SocketAPI impl,
           int clientSocket)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
boolean | 
isOpen()  | 
int | 
read(java.nio.ByteBuffer dst)  | 
int | 
write(java.nio.ByteBuffer src)  | 
public UnixChannel(SocketAPI impl, int clientSocket)
public int read(java.nio.ByteBuffer dst)
         throws java.io.IOException
read in interface java.nio.channels.ReadableByteChanneljava.io.IOExceptionpublic int write(java.nio.ByteBuffer src)
          throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOExceptionpublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channeljava.io.IOExceptionpublic boolean isOpen()
isOpen in interface java.nio.channels.ChannelCopyright © 2021. All Rights Reserved.