|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.simpleSockets.ServeClient | +--com.objectwave.socketClassServer.ServeClassRequest
Send class definitions via sockets. It will only find classes that are accessible from the classpath. It will not look in ZIP nor JAR files.
Field Summary |
Fields inherited from class com.objectwave.simpleSockets.ServeClient |
alive, debug, id, server, socket, thread |
Constructor Summary | |
ServeClassRequest(ObjectServer server,
int id,
java.lang.Thread t)
Constructor for the ServeClassRequest object |
Method Summary | |
protected java.lang.String |
formatClassName(java.lang.String className)
Map the package name to the class. |
protected void |
processClassRequest(java.lang.String fullClassName)
Send a stream of bytes that can be used to define the class. |
protected java.lang.String |
processRequest(java.lang.String fullClassName)
Important. |
protected void |
processResourceRequest()
Send a resource that was requested via getContent(); |
protected void |
processStreamRequest()
Send a resource that was requested via getInputStream() |
Methods inherited from class com.objectwave.simpleSockets.ServeClient |
bind, emitReply, emitReplyStream, getName, handleSocketException, isBound, kill, loop, loopForBinding, pause, processRequestStream, run, runConnection, terminateConnection, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServeClassRequest(ObjectServer server, int id, java.lang.Thread t)
server
- id
- t
- Method Detail |
protected java.lang.String formatClassName(java.lang.String className)
className
-
protected void processClassRequest(java.lang.String fullClassName)
fullClassName
- protected java.lang.String processRequest(java.lang.String fullClassName)
processRequest
in class ServeClient
fullClassName
-
protected void processResourceRequest()
protected void processStreamRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |