Index

A C D E G H I M N O P R S W Z 
All Classes and Interfaces|All Packages

A

addProperty(Properties, String, String, String, String) - Static method in class org.newsclub.net.unix.demo.DemoHelper
Adds a key-value pair to a Properties instance.
AFUNIXDatabaseSocketFactoryDemo - Class in org.newsclub.net.mysql.demo
Demonstrates how to connect to a local MySQL server.
AFUNIXDatabaseSocketFactoryDemo() - Constructor for class org.newsclub.net.mysql.demo.AFUNIXDatabaseSocketFactoryDemo
 

C

ChargenServer - Class in org.newsclub.net.unix.demo.server
A multi-threaded unix socket server that implements a TCP-style character generator compliant with RFC864.
ChargenServer(SocketAddress) - Constructor for class org.newsclub.net.unix.demo.server.ChargenServer
 
ChargenServer(SocketAddress, boolean) - Constructor for class org.newsclub.net.unix.demo.server.ChargenServer
 
close() - Method in class org.newsclub.net.unix.demo.client.ReadClient
 
close() - Method in class org.newsclub.net.unix.demo.client.ReadFileHandleClient
 
close() - Method in class org.newsclub.net.unix.demo.client.ReadWriteClient
 
close() - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.demo.client.ReadClient
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.demo.client.ReadFileHandleClient
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.demo.client.ReadWriteClient
 
connectSocket(SocketAddress) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 

D

DemoClient - Class in org.newsclub.net.unix.demo.client
A demo program to configure and run several AFSocket client demos from the command line.
DemoClient() - Constructor for class org.newsclub.net.unix.demo.client.DemoClient
 
DemoHelper - Class in org.newsclub.net.unix.demo
Just a helper class to simplify controlling the demo from the command line.
doServeSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
doServeSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
doServeSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
doServeSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
doServeSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 

E

EchoServer - Class in org.newsclub.net.unix.demo.netty
Echos any incoming data.
EchoServer - Class in org.newsclub.net.unix.demo.server
A multi-threaded unix socket server that simply echoes all input, byte per byte.
EchoServer(SocketAddress) - Constructor for class org.newsclub.net.unix.demo.server.EchoServer
 
EchoServer(AFSocketAddress) - Constructor for class org.newsclub.net.unix.demo.netty.EchoServer
 

G

getPropertyValue(String, String, String) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 
getPropertyValue(String, String, String, String, Function) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 
getPropertyValue(String, String, String, Function) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 

H

handleSocket(Socket) - Method in class org.newsclub.net.unix.demo.client.ReadClient
 
handleSocket(Socket) - Method in class org.newsclub.net.unix.demo.client.ReadFileHandleClient
 
handleSocket(Socket) - Method in class org.newsclub.net.unix.demo.client.ReadWriteClient
 
handleSocket(AFUNIXSocket) - Method in class org.newsclub.net.unix.demo.client.ReadFileHandleClient
 
hello() - Method in class org.newsclub.net.unix.demo.rmi.HelloWorldImpl
 
hello() - Method in interface org.newsclub.net.unix.demo.rmi.services.HelloWorld
Returns "Hello".
HelloWorld - Interface in org.newsclub.net.unix.demo.rmi.services
A very simple "hello world" service.
HelloWorldImpl - Class in org.newsclub.net.unix.demo.rmi
The implementation of the very simple HelloWorld service.
HelloWorldImpl(AFNaming) - Constructor for class org.newsclub.net.unix.demo.rmi.HelloWorldImpl
Creates a new HelloWorld implementation.

I

initJDBCDriverClass(String, String, String) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 

M

main(String[]) - Static method in class org.newsclub.net.mysql.demo.AFUNIXDatabaseSocketFactoryDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.client.DemoClient
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.jdbc.PostgresDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.mina.MinaTimeServer
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.nanohttpd.NanoHttpdServerDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.netty.EchoServer
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.okhttp.OkHttpClientDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.okhttp.OkHttpClientTIPCDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.fd.StreamClient
StreamClient command-line tool.
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.fd.StreamServer
StreamServer command-line tool.
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.SimpleRMIClient
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.SimpleRMIClientActingAsServer
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.SimpleRMIServer
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.server.SocketServerDemo
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.SimpleTestClient
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.SimpleTestServer
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.ssl.SSLDemoClient
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.ssl.SSLDemoPrerequisites
 
main(String[]) - Static method in class org.newsclub.net.unix.demo.ssl.SSLDemoServer
 
mayRead(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Checks if the given path may be accessed for reading.
mayWrite(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Checks if the given path may be accessed for writing.
MinaTimeServer - Class in org.newsclub.net.unix.demo.mina
Apache Mina-based Time server, modified to use junixsocket.
MinaTimeServer() - Constructor for class org.newsclub.net.unix.demo.mina.MinaTimeServer
 

N

NanoHttpdServerDemo - Class in org.newsclub.net.unix.demo.nanohttpd
Creates a NanoHTTPD server, bound to /tmp/junixsocket-http-server.sock.
NanoHttpdServerDemo(SocketAddress) - Constructor for class org.newsclub.net.unix.demo.nanohttpd.NanoHttpdServerDemo
 
newServerSocket() - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
newServerSocket() - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
newServerSocket() - Method in class org.newsclub.net.unix.demo.server.NullServer
 
newServerSocket() - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
newServerSocket() - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
NullServer - Class in org.newsclub.net.unix.demo.server
A multi-threaded unix socket server that simply reads all input, byte per byte, not doing anything else with it.
NullServer(SocketAddress) - Constructor for class org.newsclub.net.unix.demo.server.NullServer
 

O

OkHttpClientDemo - Class in org.newsclub.net.unix.demo.okhttp
Connects to /tmp/junixsocket-http-server.sock and performs an http request over that socket, using the OkHttp HTTP client library.
OkHttpClientDemo() - Constructor for class org.newsclub.net.unix.demo.okhttp.OkHttpClientDemo
 
OkHttpClientTIPCDemo - Class in org.newsclub.net.unix.demo.okhttp
Connects to TIPC service 8080.1 and performs an HTTP request over that socket, using the OkHttp HTTP client library.
OkHttpClientTIPCDemo() - Constructor for class org.newsclub.net.unix.demo.okhttp.OkHttpClientTIPCDemo
 
onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onListenException(Exception) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onListenException(Exception) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onListenException(Exception) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onListenException(Exception) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onListenException(Exception) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerBusy(long) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerBusy(long) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerBusy(long) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerBusy(long) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerBusy(long) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerReady(int) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerReady(int) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerReady(int) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerReady(int) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerReady(int) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerShuttingDown() - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerShuttingDown() - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerShuttingDown() - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerShuttingDown() - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerShuttingDown() - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerStarting() - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerStarting() - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerStarting() - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerStarting() - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerStarting() - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onServingException(Socket, Throwable) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onServingException(Socket, Throwable) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onServingException(Socket, Throwable) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onServingException(Socket, Throwable) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onServingException(Socket, Throwable) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
onSubmitted(Socket, Future) - Method in class org.newsclub.net.unix.demo.server.ChargenServer
 
onSubmitted(Socket, Future) - Method in class org.newsclub.net.unix.demo.server.EchoServer
 
onSubmitted(Socket, Future) - Method in class org.newsclub.net.unix.demo.server.NullServer
 
onSubmitted(Socket, Future) - Method in class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
onSubmitted(Socket, Future) - Method in class org.newsclub.net.unix.demo.server.ZeroServer
 
openForReading(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
openForReading(File) - Method in interface org.newsclub.net.unix.demo.rmi.services.StreamService
Opens the given file for reading.
openForWriting(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
openForWriting(File) - Method in interface org.newsclub.net.unix.demo.rmi.services.StreamService
Opens the given file for writing.
org.newsclub.net.mysql.demo - package org.newsclub.net.mysql.demo
Demo code related to MySQL.
org.newsclub.net.unix.demo - module org.newsclub.net.unix.demo
Some demo code.
org.newsclub.net.unix.demo - package org.newsclub.net.unix.demo
Demo code.
org.newsclub.net.unix.demo.client - package org.newsclub.net.unix.demo.client
 
org.newsclub.net.unix.demo.jdbc - package org.newsclub.net.unix.demo.jdbc
 
org.newsclub.net.unix.demo.mina - package org.newsclub.net.unix.demo.mina
 
org.newsclub.net.unix.demo.nanohttpd - package org.newsclub.net.unix.demo.nanohttpd
 
org.newsclub.net.unix.demo.netty - package org.newsclub.net.unix.demo.netty
 
org.newsclub.net.unix.demo.okhttp - package org.newsclub.net.unix.demo.okhttp
 
org.newsclub.net.unix.demo.rmi - package org.newsclub.net.unix.demo.rmi
Demo code related to RMI-over-AF_UNIX.
org.newsclub.net.unix.demo.rmi.fd - package org.newsclub.net.unix.demo.rmi.fd
 
org.newsclub.net.unix.demo.rmi.services - package org.newsclub.net.unix.demo.rmi.services
 
org.newsclub.net.unix.demo.server - package org.newsclub.net.unix.demo.server
 
org.newsclub.net.unix.demo.ssl - package org.newsclub.net.unix.demo.ssl
 

P

parseAddress(String[], SocketAddress) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 
parseAddress(String, String, SocketAddress) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 
PostgresDemo - Class in org.newsclub.net.unix.demo.jdbc
Demonstrates how to connect to a local PostgreSQL server via unix sockets.
PostgresDemo() - Constructor for class org.newsclub.net.unix.demo.jdbc.PostgresDemo
 

R

ReadClient - Class in org.newsclub.net.unix.demo.client
A client that just reads and echoes the data to stdout.
ReadClient() - Constructor for class org.newsclub.net.unix.demo.client.ReadClient
 
ReadFileHandleClient - Class in org.newsclub.net.unix.demo.client
A client that reads the contents of file descriptors that are sent as ancillary messages.
ReadFileHandleClient() - Constructor for class org.newsclub.net.unix.demo.client.ReadFileHandleClient
 
ReadWriteClient - Class in org.newsclub.net.unix.demo.client
A simple bidirectional Unix socket client that reads from/writes to stdin/stdout.
ReadWriteClient() - Constructor for class org.newsclub.net.unix.demo.client.ReadWriteClient
 
run() - Method in class org.newsclub.net.unix.demo.netty.EchoServer
 

S

SendFileHandleServer - Class in org.newsclub.net.unix.demo.server
A multi-threaded unix socket server that simply reads all input, byte per byte, not doing anything else with it.
SendFileHandleServer(SocketAddress, File) - Constructor for class org.newsclub.net.unix.demo.server.SendFileHandleServer
 
serve(NanoHTTPD.IHTTPSession) - Method in class org.newsclub.net.unix.demo.nanohttpd.NanoHttpdServerDemo
 
SimpleRMIClient - Class in org.newsclub.net.unix.demo.rmi
A simple RMI client.
SimpleRMIClient() - Constructor for class org.newsclub.net.unix.demo.rmi.SimpleRMIClient
 
SimpleRMIClientActingAsServer - Class in org.newsclub.net.unix.demo.rmi
A simple RMI client.
SimpleRMIClientActingAsServer() - Constructor for class org.newsclub.net.unix.demo.rmi.SimpleRMIClientActingAsServer
 
SimpleRMIServer - Class in org.newsclub.net.unix.demo.rmi
A very simple RMI server.
SimpleRMIServer() - Constructor for class org.newsclub.net.unix.demo.rmi.SimpleRMIServer
 
SimpleTestClient - Class in org.newsclub.net.unix.demo
A simple demo client.
SimpleTestClient() - Constructor for class org.newsclub.net.unix.demo.SimpleTestClient
 
SimpleTestServer - Class in org.newsclub.net.unix.demo
A simple demo server.
socketAddress(String) - Static method in class org.newsclub.net.unix.demo.DemoHelper
 
SocketServerDemo - Class in org.newsclub.net.unix.demo.server
A demo program to configure and run several SocketServer demos from the command line.
SocketServerDemo() - Constructor for class org.newsclub.net.unix.demo.server.SocketServerDemo
 
SSLDemoClient - Class in org.newsclub.net.unix.demo.ssl
A simple SSL demo client.
SSLDemoClient() - Constructor for class org.newsclub.net.unix.demo.ssl.SSLDemoClient
 
SSLDemoPrerequisites - Class in org.newsclub.net.unix.demo.ssl
SSL-over-UNIX sockets demo.
SSLDemoPrerequisites() - Constructor for class org.newsclub.net.unix.demo.ssl.SSLDemoPrerequisites
 
SSLDemoServer - Class in org.newsclub.net.unix.demo.ssl
A simple SSL demo server.
SSLDemoServer() - Constructor for class org.newsclub.net.unix.demo.ssl.SSLDemoServer
 
StreamClient - Class in org.newsclub.net.unix.demo.rmi.fd
Demonstrates how to read files via FileDescriptors that are exchanged via RMI.
StreamServer - Class in org.newsclub.net.unix.demo.rmi.fd
Demonstrates how to read/write files via FileDescriptors that are exchanged via RMI.
StreamService - Interface in org.newsclub.net.unix.demo.rmi.services
The StreamServer's RMI service.
StreamServiceImpl - Class in org.newsclub.net.unix.demo.rmi.fd
An implementation of StreamService.
StreamServiceImpl(AFUNIXRMISocketFactory) - Constructor for class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Creates a new instance.

W

world() - Method in class org.newsclub.net.unix.demo.rmi.HelloWorldImpl
 
world() - Method in interface org.newsclub.net.unix.demo.rmi.services.HelloWorld
Returns "World" (or something else?).
world() - Method in interface org.newsclub.net.unix.demo.rmi.services.World
Returns "World" (or something else?).
world() - Method in class org.newsclub.net.unix.demo.rmi.WorldImpl
 
World - Interface in org.newsclub.net.unix.demo.rmi.services
A very simple "world" service.
WorldImpl - Class in org.newsclub.net.unix.demo.rmi
The implementation of the very simple World service.
WorldImpl(String) - Constructor for class org.newsclub.net.unix.demo.rmi.WorldImpl
Creates a new World instance.

Z

ZeroServer - Class in org.newsclub.net.unix.demo.server
A multi-threaded unix socket server that simply writes null-bytes, and does not attempt to read anything.
ZeroServer(SocketAddress) - Constructor for class org.newsclub.net.unix.demo.server.ZeroServer
 
A C D E G H I M N O P R S W Z 
All Classes and Interfaces|All Packages