public interface ChatHandlerProvider
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.base.Optional<ChatHandler> | 
get(String key)
Retrieves a chat handler. 
 | 
void | 
register(String key,
        ChatHandler handler)
Registers a chat handler which provides an API for others to talk to objects in the indexing service. 
 | 
void | 
register(String key,
        ChatHandler handler,
        boolean announce)
Registers a chat handler which provides an API for others to talk to objects in the indexing service. 
 | 
void | 
unregister(String key)
Unregisters a chat handler. 
 | 
void register(String key, ChatHandler handler)
key - a unique name identifying this servicehandler - instance which implements the API to be exposedvoid register(String key, ChatHandler handler, boolean announce)
key - a unique name identifying this servicehandler - instance which implements the API to be exposedannounce - for implementations that have a service discovery mechanism, whether this node should be announcedvoid unregister(String key)
key - the name of the servicecom.google.common.base.Optional<ChatHandler> get(String key)
key - the name of the serviceCopyright © 2011–2018. All rights reserved.