public class MessageCarbonsModule extends AbstractStanzaModule<Message>
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageCarbonsModule.CarbonEventType |
static interface |
MessageCarbonsModule.CarbonReceivedHandler |
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLNS_MC
XMLNS of Message
Carbons.
|
context, log| Constructor and Description |
|---|
MessageCarbonsModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeRegister()
Called just before registration module in XmppModulesManager
.
|
void |
disable(AsyncCallback callback)
Disable carbons.
|
void |
enable(AsyncCallback callback)
Enable carbons.
|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
process(Message message)
Method for processing incoming stanza.
|
protected void |
processReceivedCarbon(Message message,
Element carb) |
protected void |
processSentCarbon(Message message,
Element carb) |
afterRegister, beforeUnregister, fireEvent, getFirstChild, process, setContext, write, write, writepublic static final String XMLNS_MC
public MessageCarbonsModule()
throws JaxmppException
JaxmppExceptionpublic void beforeRegister()
InitializingModulebeforeRegister in interface InitializingModulebeforeRegister in class AbstractStanzaModule<Message>public void disable(AsyncCallback callback) throws JaxmppException
callback - callbackJaxmppExceptionpublic void enable(AsyncCallback callback) throws JaxmppException
callback - callbackJaxmppExceptionpublic Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
public void process(Message message) throws JaxmppException
AbstractStanzaModuleprocess in class AbstractStanzaModule<Message>JaxmppExceptionprotected void processReceivedCarbon(Message message, Element carb) throws JaxmppException
JaxmppExceptionprotected void processSentCarbon(Message message, Element carb) throws JaxmppException
JaxmppExceptionCopyright © 2006–2015 Tigase. All rights reserved.