# Hello World Example Using Sockets of Type XorSocket and a Custom RMI Socket Factory

Here are the source files from the "Hello World" example, that was modified to communicate using sockets of type `XorSocket`.

- CompressionClientSocketFactory.java
- CompressionConstants.java
- CompressionInputStream.java
- CompressionOutputStream.java
- CompressionServerSocket.java
- CompressionServerSocketFactory.java
- CompressionSocket.java
- Hello.java
- HelloClient.java
- HelloImpl.java
- MultiClientSocketFactory.java
- MultiServerSocketFactory.java
- policy
- XorInputStream.java
- XorOutputStream.java
- XorServerSocket.java
- XorSocket.java

Instructions on how to compile and run this example can be found here .

For all of the source code used in this tutorial, you may choose from the following formats:

- sockets.zip
- sockets.tar
- sockets.tar.Z

Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: rmi-comments@java.sun.com |