public class MessageCarbonsModule extends AbstractStanzaModule<Message>
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageCarbonsModule.CarbonEventType |
static class |
MessageCarbonsModule.MessageCarbonEvent |
static class |
MessageCarbonsModule.MessageReceivedCarbonEvent |
static class |
MessageCarbonsModule.MessageSentCarbonEvent |
| Modifier and Type | Field and Description |
|---|---|
static EventType |
Carbon |
static String |
XMLNS_MC
XMLNS of Message
Carbons.
|
log, observable, sessionObject, writer| Constructor and Description |
|---|
MessageCarbonsModule(SessionObject sessionObject,
MessageModule messageModule,
PacketWriter packetWriter) |
| Modifier and Type | Method and Description |
|---|---|
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) |
addListener, addListener, getFirstChild, process, removeAllListeners, removeListener, removeListenerpublic static final EventType Carbon
public static final String XMLNS_MC
public MessageCarbonsModule(SessionObject sessionObject, MessageModule messageModule, PacketWriter packetWriter)
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–2014 Tigase. All rights reserved.