org.sourceforge.jxutil.net
Class UnixDomainSocket
java.lang.Object
|
+--java.net.Socket
|
+--org.sourceforge.jxutil.net.UnixDomainSocket
- public final class UnixDomainSocket
- extends Socket
- Author:
- Keve Muller
Fields inherited from class java.net.Socket |
|
Methods inherited from class java.net.Socket |
bind, connect, connect, getChannel, getInetAddress, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getRemoteSocketAddress, getReuseAddress, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setReuseAddress, setSocketImplFactory, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput |
fd
private int fd
name
private final File name
UnixDomainSocket
UnixDomainSocket(int fd,
File name)
UnixDomainSocket
public UnixDomainSocket(String name)
throws IOException
close
public void close()
throws IOException
- Overrides:
close
in class Socket
IOException
finalize
public void finalize()
throws Throwable
- Overrides:
finalize
in class Object
Throwable
getInputStream
public InputStream getInputStream()
- Overrides:
getInputStream
in class Socket
getKeepAlive
public boolean getKeepAlive()
throws SocketException
- Overrides:
getKeepAlive
in class Socket
SocketException
getOutputStream
public OutputStream getOutputStream()
- Overrides:
getOutputStream
in class Socket
getPath
public String getPath()
getReceiveBufferSize
public int getReceiveBufferSize()
throws SocketException
- Overrides:
getReceiveBufferSize
in class Socket
SocketException
getSendBufferSize
public int getSendBufferSize()
throws SocketException
- Overrides:
getSendBufferSize
in class Socket
SocketException
getSoLinger
public int getSoLinger()
throws SocketException
- Overrides:
getSoLinger
in class Socket
SocketException
setKeepAlive
public void setKeepAlive(boolean ka)
throws SocketException
- Overrides:
setKeepAlive
in class Socket
SocketException
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws SocketException
- Overrides:
setReceiveBufferSize
in class Socket
SocketException
setSendBufferSize
public void setSendBufferSize(int size)
throws SocketException
- Overrides:
setSendBufferSize
in class Socket
SocketException
setSoLinger
public void setSoLinger(boolean on,
int linger)
throws SocketException
- Overrides:
setSoLinger
in class Socket
SocketException
toString
public String toString()
- Overrides:
toString
in class Socket
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.