JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3
Interface ClientListener<I,O>

Type Parameters:
I - the request type
O - the reply type

public interface ClientListener<I,O>

A client listener associated with a service. When a client is opened for this service, a new request listener is created and returned.


Method Summary
 RequestListener<I,O> handleClientOpen(ClientContext clientContext)
          Handle a client open by returning a new request listener.
 

Method Detail

handleClientOpen

RequestListener<I,O> handleClientOpen(ClientContext clientContext)
Handle a client open by returning a new request listener. The supplied client context may be used to register a notifier for when the client is closed.

If null is returned, the client is closed with an error.

Parameters:
clientContext - the client context
Returns:
the request listener

JBoss Remoting 3.1.0.Beta1

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