twcsckernel.projectbase.rmi.socketfactory
Class SocketAdapter

java.lang.Object
  extended by twcsckernel.projectbase.rmi.socketfactory.SocketAdapter

public class SocketAdapter
extends java.lang.Object

Adapts two sockets by sending the data from the output stream of one to the input stream of the other and vice versa.

Author:
Tim Taylor -- tttaylor@cssassociates.com

Constructor Summary
SocketAdapter(java.net.Socket socket1, java.net.Socket socket2)
           
 
Method Summary
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketAdapter

public SocketAdapter(java.net.Socket socket1,
                     java.net.Socket socket2)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()


Copyright © 2005-2006 CS@PUT. All Rights Reserved.