A B C G I L N R S T W

A

accept() - Method in class gnu.net.local.AfUnixServerSocket
Accepts a new connection and returns a connected Socket instance representing that connection.
accept(AfUnixSocketImpl) - Method in class gnu.net.local.AfUnixSocketImpl
Accepts a new connection on this socket and returns in in the passed in AfUnixSocketImpl.
AfUnixServerSocket - class gnu.net.local.AfUnixServerSocket.
This class models local AF_UNIX server side sockets.
AfUnixServerSocket() - Constructor for class gnu.net.local.AfUnixServerSocket
Constructor that simply sets the implementation.
AfUnixServerSocket(String) - Constructor for class gnu.net.local.AfUnixServerSocket
Creates a server socket and binds it to the specified filename.
AfUnixServerSocket(String, int) - Constructor for class gnu.net.local.AfUnixServerSocket
Creates a server socket and binds it to the specified filename.
AfUnixSocket - class gnu.net.local.AfUnixSocket.
This class models a client side AF_UNIX socket.
AfUnixSocket() - Constructor for class gnu.net.local.AfUnixSocket
Initializes a new instance of AfUnixSocket object without connecting.
AfUnixSocket(String) - Constructor for class gnu.net.local.AfUnixSocket
Initializes a new instance of AfUnixSocket and connects to the socket specified as arguments.
AfUnixSocketImpl - class gnu.net.local.AfUnixSocketImpl.
Implementation class of AfUnixSocket - links to the native library
available() - Method in class gnu.net.local.AfUnixSocketImpl
Returns the number of bytes that the caller can read from this socket without blocking.

B

bind(String) - Method in class gnu.net.local.AfUnixServerSocket
Binds the server socket to a specified socket name
bind(String) - Method in class gnu.net.local.AfUnixSocketImpl
Binds to the specified socket
bind(String, int) - Method in class gnu.net.local.AfUnixServerSocket
Binds the server socket to a specified socket name

C

close() - Method in class gnu.net.local.AfUnixServerSocket
Closes this socket and stops listening for connections
close() - Method in class gnu.net.local.AfUnixSocket
Closes the Socket
close() - Method in class gnu.net.local.AfUnixSocketImpl
Closes the socket.
connect(String) - Method in class gnu.net.local.AfUnixSocketImpl
Connects to the socket specified as arguments.
create(boolean) - Method in class gnu.net.local.AfUnixSocketImpl
Creates a new socket that is not bound to any local address/port and is not connected to any remote address/port.
createNew() - Static method in class gnu.net.local.AfUnixSocketImpl
return new instance loads the native libraray - throws UnsatisfiedLinkError on failure

G

getInputStream() - Method in class gnu.net.local.AfUnixSocket
Returns an InputStream for reading from this socket.
getInputStream() - Method in class gnu.net.local.AfUnixSocketImpl
Returns an InputStream object for reading from this socket.
getOption(int) - Method in class gnu.net.local.AfUnixSocketImpl
Returns the current setting of the specified option.
getOutputStream() - Method in class gnu.net.local.AfUnixSocket
Returns an OutputStream for writing to this socket.
getOutputStream() - Method in class gnu.net.local.AfUnixSocketImpl
Returns an OutputStream object for writing to this socket.
gnu.net.local - package gnu.net.local
 

I

implAccept(AfUnixSocket) - Method in class gnu.net.local.AfUnixServerSocket
This protected method is used to help subclasses override ServerSocket.accept().

L

listen(int) - Method in class gnu.net.local.AfUnixSocketImpl
Starts listening for connections on a socket.
loadNativeLibrary() - Static method in class gnu.net.local.AfUnixSocketImpl
loads the native library.

N

native_fd - Variable in class gnu.net.local.AfUnixSocketImpl
This is the native file descriptor for this socket

R

read(byte[], int, int) - Method in class gnu.net.local.AfUnixSocketImpl
Internal method used by SocketInputStream for reading data from the connection.

S

setOption(int, Object) - Method in class gnu.net.local.AfUnixSocketImpl
Sets the specified option on a socket to the passed in object.
shutdownInput() - Method in class gnu.net.local.AfUnixSocketImpl
NOT IMPLEMENTED
shutdownOutput() - Method in class gnu.net.local.AfUnixSocketImpl
NOT IMPLEMENTED

T

toString() - Method in class gnu.net.local.AfUnixServerSocket
Returns the value of this socket as a String.
toString() - Method in class gnu.net.local.AfUnixSocket
Converts this AfUnixSocket to a String.

W

write(byte[], int, int) - Method in class gnu.net.local.AfUnixSocketImpl
Internal method used by SocketOuputStream for writing data to the connection.

A B C G I L N R S T W