|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.openejb.ri.server.Server.SocketHandler
This inner class defines objects that manage a connection from a EJBHome or EJBObject proxy on a client. Its dedicated to one proxy and process all requests from that proxy. This object runs in its own thread responding to data streamed to it from the proxy.
Field Summary | |
(package private) java.net.Socket |
mySocket
The socket that is dedicated to this SocketHandler |
(package private) java.io.ObjectInputStream |
ois
The ObjectInputStream used to receive incoming messages from the client. |
(package private) java.io.ObjectOutputStream |
oos
The ObjectOutputStream used to send outgoing response messages to the client. |
Fields inherited from class java.lang.Thread |
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals |
Constructor Summary | |
Server.SocketHandler(java.net.Socket socket)
Constructs a SocketHandler with an ObjectOutputStream and an ObjectInputStream for receiving and responding to requests made by the proxy connected to the socket. |
Method Summary | |
void |
run()
Responds to requests made by the proxy. |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
java.net.Socket mySocket
java.io.ObjectInputStream ois
java.io.ObjectOutputStream oos
Constructor Detail |
public Server.SocketHandler(java.net.Socket socket) throws java.lang.Exception
socket
- java.lang.Exception
- Method Detail |
public void run()
run
in class java.lang.Thread
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |