org.jboss.remoting3
Interface ClientListener<I,O>
- Type Parameters:
I - the request typeO - 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.
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
Copyright © 2010 JBoss, a division of Red Hat, Inc.