|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.micropsi.comp.common.ComponentServerFacade
A components server facade. Use this from within the component to register your request handlers. Typically this will be done in the component's performInitialisation() method.
| Constructor Summary | |
ComponentServerFacade(ConfigurationReaderIF config,
java.lang.String prefix)
Creates the facade. |
|
| Method Summary | |
ComChannelServerIF |
getServer(java.lang.String servername)
Return the channelserver "servername" |
void |
registerRequestHandler(java.lang.String servername,
RequestHandlerIF handler)
Register a new request handler with the channelserver "servername". |
void |
unregisterRequestHandler(java.lang.String servername,
java.lang.String handlername)
unregister a RequestHandler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentServerFacade(ConfigurationReaderIF config,
java.lang.String prefix)
throws MicropsiConfigException,
MicropsiException
| Method Detail |
public void registerRequestHandler(java.lang.String servername,
RequestHandlerIF handler)
throws MicropsiException
MicropsiException
public void unregisterRequestHandler(java.lang.String servername,
java.lang.String handlername)
throws MicropsiException
MicropsiException
public ComChannelServerIF getServer(java.lang.String servername)
throws MicropsiException
MicropsiException
|
(c) by Micropsi Project: http://www.cognitive-agents.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||