com.objectwave.socketClassServer
Class ObjectServer

java.lang.Object
  |
  +--com.objectwave.simpleSockets.SimpleServer
        |
        +--com.objectwave.socketClassServer.ObjectServer
All Implemented Interfaces:
java.lang.Runnable

public class ObjectServer
extends SimpleServer

This will create a new multithreaded server that can provide class byte codes over a TCPIP connection. These class byte codes can then be used to ClassLoader.defineClass(byte []...)

Version:
$Id: ObjectServer.java,v 2.0 2001/06/11 15:54:25 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.simpleSockets.SimpleServer
count
 
Constructor Summary
ObjectServer()
           
 
Method Summary
 ServeClient getClientServer(SimpleServer svr, int count, java.lang.Thread thread)
          All of the real work is done by another class.
static void main(java.lang.String[] args)
          Create an object server and start it running.
 
Methods inherited from class com.objectwave.simpleSockets.SimpleServer
errorlog, getClientServer, getClientThreadPriority, handleConnection, port, run, startServer, startThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectServer

public ObjectServer()
Method Detail

main

public static void main(java.lang.String[] args)
Create an object server and start it running. If a parameter is provided, this is the port number on which we will be serving objects. This number must exceed 1000.

Parameters:
args -

getClientServer

public ServeClient getClientServer(SimpleServer svr,
                                   int count,
                                   java.lang.Thread thread)
All of the real work is done by another class. ServeClassRequest

Overrides:
getClientServer in class SimpleServer
Parameters:
svr -
count -
thread -
Returns:
The ClientServer value
See Also:
ServeClassRequest