jxUtil 0.6

org.sourceforge.jxutil.net
Class UnixDomain

java.lang.Object
  |
  +--org.sourceforge.jxutil.JNI
        |
        +--org.sourceforge.jxutil.net.UnixDomain

public final class UnixDomain
extends JNI

Author:
Keve Muller

Field Summary
 
Fields inherited from class org.sourceforge.jxutil.JNI
loaded
 
Constructor Summary
private UnixDomain()
           
 
Method Summary
static int accept(int fd)
           
static int bind(String name)
           
static int connect(String name)
           
static boolean getKeepAlive(int fd)
           
static int getReceiveBufferSize(int fd)
           
static int getSendBufferSize(int fd)
           
static int getSoLinger(int fd)
           
private static void init()
           
static void setKeepAlive(int fd, boolean flag)
           
static void setReceiveBufferSize(int fd, int size)
           
static void setSendBufferSize(int fd, int size)
           
static void setSoLinger(int fd, boolean on, int linger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixDomain

private UnixDomain()
Method Detail

accept

public static int accept(int fd)
                  throws IOException
IOException

bind

public static int bind(String name)
                throws IOException
IOException

connect

public static int connect(String name)
                   throws IOException
IOException

getKeepAlive

public static boolean getKeepAlive(int fd)
                            throws SocketException
SocketException

getReceiveBufferSize

public static int getReceiveBufferSize(int fd)
                                throws SocketException
SocketException

getSendBufferSize

public static int getSendBufferSize(int fd)
                             throws SocketException
SocketException

getSoLinger

public static int getSoLinger(int fd)
                       throws SocketException
SocketException

init

private static void init()

setKeepAlive

public static void setKeepAlive(int fd,
                                boolean flag)
                         throws SocketException
SocketException

setReceiveBufferSize

public static void setReceiveBufferSize(int fd,
                                        int size)
                                 throws SocketException
SocketException

setSendBufferSize

public static void setSendBufferSize(int fd,
                                     int size)
                              throws SocketException
SocketException

setSoLinger

public static void setSoLinger(int fd,
                               boolean on,
                               int linger)
                        throws SocketException
SocketException

jxUtil 0.6

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