public interface UnixDomainSocketChannel
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the unix domain socket.
|
void |
open(java.lang.String address)
Open the unix domain socket for the provided address
|
int |
read(byte[] inputBuffer)
Read from the unix domain socket into the provided input buffer.
|
void |
write(byte[] output)
Write the provided bytes to the unix domain socket.
|
void open(java.lang.String address) throws java.io.IOException
address - the address to open the connection to.java.io.IOException - if the connection fails to open for any reason.void write(byte[] output)
throws java.io.IOException
output - the bytes to write to the unix domain socket.java.io.IOException - if the bytes fail to write for any reason.int read(byte[] inputBuffer) throws java.io.IOException
inputBuffer - the empty byte array to be written to with the read bytes from the unix domain socket.java.io.IOException - if the unix domain socket cannot be read from for any reason.void close()
throws java.io.IOException
java.io.IOException - if the unix domain socket close fails for any reason.Copyright © 2023. All rights reserved.