public class Hub extends Object implements ModuleActivator
| Modifier and Type | Field and Description | 
|---|---|
protected static ModuleContext | 
moduleContext
universAAL Module context. 
 | 
protected static MessageContentSerializerEx | 
parser
Turtle parser 
 | 
protected static SCallee | 
scallee
Service Callee 
 | 
protected static SCaller | 
scaller
Service Caller 
 | 
| Constructor and Description | 
|---|
Hub()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setSerializer(MessageContentSerializerEx service)
Set the turtle parser. 
 | 
void | 
start(ModuleContext context)
To be called when application starts. 
 | 
void | 
stop(ModuleContext mc)
To be called when application stops. 
 | 
protected static SCallee scallee
protected static SCaller scaller
protected static MessageContentSerializerEx parser
protected static ModuleContext moduleContext
public void start(ModuleContext context)
start in interface ModuleActivatorcontext - universAAL module contextpublic final void stop(ModuleContext mc) throws Exception
stop in interface ModuleActivatorExceptionpublic void setSerializer(MessageContentSerializerEx service)
service - The parserCopyright © 2018 universAAL Consortium. All rights reserved.