org.jboss.mq.il.oil2
Class OIL2ClientILService

java.lang.Object
  extended byorg.jboss.mq.il.oil2.OIL2ClientILService
All Implemented Interfaces:
ClientILService (src) , OIL2RequestListner (src)

public final class OIL2ClientILService
extends java.lang.Object
implements ClientILService (src) , OIL2RequestListner (src)

The OIL2 implementation of the ClientILService object


Constructor Summary
OIL2ClientILService()
           
 
Method Summary
 ClientIL (src) getClientIL()
          getClientIL method comment.
 void handleConnectionException(java.lang.Exception e)
           
 void handleRequest(OIL2Request (src)  request)
           
 void init(Connection (src)  connection, java.util.Properties props)
          init method comment.
 void start()
          start method comment.
 void stop()
          Once stopped, the ClientIL instance stop processing all server requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OIL2ClientILService

public OIL2ClientILService()
Method Detail

getClientIL

public ClientIL (src)  getClientIL()
                     throws java.lang.Exception
getClientIL method comment.

Specified by:
getClientIL in interface ClientILService (src)
Returns:
The ClientIL value
Throws:
java.lang.Exception - Description of Exception

init

public void init(Connection (src)  connection,
                 java.util.Properties props)
          throws java.lang.Exception
init method comment.

Specified by:
init in interface ClientILService (src)
Parameters:
connection - Description of Parameter
props - Description of Parameter
Throws:
java.lang.Exception - Description of Exception

start

public void start()
           throws java.lang.Exception
start method comment.

Specified by:
start in interface ClientILService (src)
Throws:
java.lang.Exception - Description of Exception

stop

public void stop()
          throws java.lang.Exception
Description copied from interface: ClientILService (src)
Once stopped, the ClientIL instance stop processing all server requests. if( cr_server != null ) cr_server.close(); if (cr!=null && cr instanceof java.rmi.Remote) { java.rmi.server.UnicastRemoteObject.unexportObject((java.rmi.Remote)cr, true); }

Specified by:
stop in interface ClientILService (src)
Throws:
java.lang.Exception - Description of Exception

handleConnectionException

public void handleConnectionException(java.lang.Exception e)
Specified by:
handleConnectionException in interface OIL2RequestListner (src)

handleRequest

public void handleRequest(OIL2Request (src)  request)
Specified by:
handleRequest in interface OIL2RequestListner (src)