JBoss Remoting 3.0.0.Beta2

org.jboss.remoting
Class AbstractRequestListener<I,O>

java.lang.Object
  extended by org.jboss.remoting.AbstractRequestListener<I,O>
Type Parameters:
I - the request type
O - the reply type
All Implemented Interfaces:
RequestListener<I,O>
Direct Known Subclasses:
TransporterRequestListener

public abstract class AbstractRequestListener<I,O>
extends Object
implements RequestListener<I,O>

A simple request listener implementation that implements all methods with no-operation implementations.


Constructor Summary
AbstractRequestListener()
           
 
Method Summary
 void handleClientClose(ClientContext context)
          Handle the close of a client.
 void handleClientOpen(ClientContext context)
          Handle the opening of a client.
 void handleServiceClose(ServiceContext context)
          Handle the close of a service.
 void handleServiceOpen(ServiceContext context)
          Handle the opening of a service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.remoting.RequestListener
handleRequest
 

Constructor Detail

AbstractRequestListener

public AbstractRequestListener()
Method Detail

handleClientOpen

public void handleClientOpen(ClientContext context)
Handle the opening of a client. This implementation performs no operation.

Specified by:
handleClientOpen in interface RequestListener<I,O>
Parameters:
context - the client context

handleServiceOpen

public void handleServiceOpen(ServiceContext context)
Handle the opening of a service. This implementation performs no operation.

Specified by:
handleServiceOpen in interface RequestListener<I,O>
Parameters:
context - the service context

handleServiceClose

public void handleServiceClose(ServiceContext context)
Handle the close of a service. This implementation performs no operation.

Specified by:
handleServiceClose in interface RequestListener<I,O>
Parameters:
context - the service context

handleClientClose

public void handleClientClose(ClientContext context)
Handle the close of a client. This implementation performs no operation.

Specified by:
handleClientClose in interface RequestListener<I,O>
Parameters:
context - the client context

JBoss Remoting 3.0.0.Beta2

Copyright © 2008 JBoss, a division of Red Hat, Inc.