org.jboss.mq.il.oil2
Class OIL2SocketHandler

java.lang.Object
  extended by org.jboss.mq.il.oil2.OIL2SocketHandler
All Implemented Interfaces:
Cloneable, Runnable

public final class OIL2SocketHandler
extends Object
implements Cloneable, Runnable

The OIL2 implementation of the ServerIL object

Version:
$Revision: 1$
Author:
Hiram Chirino

Nested Class Summary
 class OIL2SocketHandler.RequestRunner
           
 
Constructor Summary
OIL2SocketHandler(ObjectInputStream in, ObjectOutputStream out, ThreadGroup partentThreadGroup)
          Constructor for the OILServerIL object
 
Method Summary
 void run()
          Main processing method for the OILClientILService object
 void sendRequest(OIL2Request request)
          #Description of the Method
 void sendResponse(OIL2Response response)
          #Description of the Method
 void setRequestListner(OIL2RequestListner requestListner)
          #Description of the Method
 void start()
           
 void stop()
           
 OIL2Response synchRequest(OIL2Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OIL2SocketHandler

public OIL2SocketHandler(ObjectInputStream in,
                         ObjectOutputStream out,
                         ThreadGroup partentThreadGroup)
Constructor for the OILServerIL object

Parameters:
a - Description of Parameter
port - Description of Parameter
Method Detail

sendRequest

public void sendRequest(OIL2Request request)
                 throws IOException
#Description of the Method

Throws:
Exception - Description of Exception
IOException

setRequestListner

public void setRequestListner(OIL2RequestListner requestListner)
#Description of the Method


sendResponse

public void sendResponse(OIL2Response response)
                  throws IOException
#Description of the Method

Throws:
Exception - Description of Exception
IOException

synchRequest

public OIL2Response synchRequest(OIL2Request request)
                          throws IOException,
                                 InterruptedException,
                                 ClassNotFoundException
Throws:
IOException
InterruptedException
ClassNotFoundException

run

public void run()
Main processing method for the OILClientILService object

Specified by:
run in interface Runnable

start

public void start()

stop

public void stop()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.