jxUtil 0.6

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

Field Summary
private  int fd
           
private  File name
           
 
Fields inherited from class java.net.Socket
 
Constructor Summary
(package private) UnixDomainSocket(int fd, File name)
           
  UnixDomainSocket(String name)
           
 
Method Summary
 void close()
           
 void finalize()
           
 InputStream getInputStream()
           
 boolean getKeepAlive()
           
 OutputStream getOutputStream()
           
 String getPath()
           
 int getReceiveBufferSize()
           
 int getSendBufferSize()
           
 int getSoLinger()
           
 void setKeepAlive(boolean ka)
           
 void setReceiveBufferSize(int size)
           
 void setSendBufferSize(int size)
           
 void setSoLinger(boolean on, int linger)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fd

private int fd

name

private final File name
Constructor Detail

UnixDomainSocket

UnixDomainSocket(int fd,
                 File name)

UnixDomainSocket

public UnixDomainSocket(String name)
                 throws IOException
Method Detail

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

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.