UnixDomainSocketChannel Interface
public interface UnixDomainSocketChannel
The definition for a readable and writable unix domain socket channel that may be needed in module creation depending on the Edge runtime.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the unix domain socket. |
void |
open(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. |
Method Details
close
public void close()
Close the unix domain socket.
Throws:
open
public void open(String address)
Open the unix domain socket for the provided address
Parameters:
Throws:
read
public int read(byte[] inputBuffer)
Read from the unix domain socket into the provided input buffer.
Parameters:
Returns:
Throws:
write
public void write(byte[] output)
Write the provided bytes to the unix domain socket.
Parameters:
Throws:
Applies to
Azure SDK for Java