public abstract class AbstractContext extends Object implements Context
| Constructor and Description |
|---|
AbstractContext(AbstractComponent<?> component) |
| Modifier and Type | Method and Description |
|---|---|
JID |
getComponentID() |
String |
getComponentVersion()
Returns version of component.
|
String |
getDiscoCategory()
Returns category of component.
|
String |
getDiscoCategoryType()
Returns type of component.
|
String |
getDiscoDescription()
Returns human readable component name.
|
EventBus |
getEventBus()
Returns
EventBus. |
ModuleProvider |
getModuleProvider()
Returns
ModuleProvider. |
PacketWriter |
getWriter()
Returns
PacketWriter. |
public AbstractContext(AbstractComponent<?> component)
public JID getComponentID()
getComponentID in interface Contextpublic String getComponentVersion()
ContextgetComponentVersion in interface Contextpublic String getDiscoCategory()
ContextgetDiscoCategory in interface Contextpublic String getDiscoCategoryType()
ContextgetDiscoCategoryType in interface Contextpublic String getDiscoDescription()
ContextgetDiscoDescription in interface Contextpublic EventBus getEventBus()
ContextEventBus.getEventBus in interface ContextEventBus instance.public ModuleProvider getModuleProvider()
ContextModuleProvider.getModuleProvider in interface ContextModuleProvider instance.public PacketWriter getWriter()
ContextPacketWriter.getWriter in interface ContextPacketWriter instance.Copyright © 2018 "Tigase, Inc.". All rights reserved.