public abstract class UnixDomainSocket
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the socket
|
java.io.InputStream |
getInputStream()
Returns an input stream for this socket.
|
java.io.OutputStream |
getOutputStream()
Returns an output stream for this socket.
|
int |
getTimeout() |
void |
setTimeout(int timeout)
Sets the read timeout for the socket.
|
void |
unlink()
Unlink socket file
|
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public void setTimeout(int timeout)
timeout
of zero is interpreted as an infinite timeout.timeout
- The specified timeout, in milliseconds.public int getTimeout()
public void close()
public void unlink()