org.jboss.remoting3
Interface ClientListener<I,O>
- Type Parameters:
I - the request typeO - the reply type
- All Superinterfaces:
- EventListener
public interface ClientListener<I,O>
- extends EventListener
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,
org.jboss.xnio.OptionMap optionMap)
- 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 contextoptionMap - the service open options
- Returns:
- the request listener
Copyright © 2010 JBoss, a division of Red Hat, Inc.