tigase.jaxmpp.core.client.xmpp.modules.chat

## Class MessageCarbonsModule.CarbonReceivedHandler.CarbonReceivedEvent

- java.lang.Object
- - tigase.jaxmpp.core.client.eventbus.Event<H>
  - - tigase.jaxmpp.core.client.eventbus.JaxmppEvent<MessageCarbonsModule.CarbonReceivedHandler>
    - - tigase.jaxmpp.core.client.xmpp.modules.chat.MessageCarbonsModule.CarbonReceivedHandler.CarbonReceivedEvent

- Enclosing interface:
    MessageCarbonsModule.CarbonReceivedHandler

      public static class MessageCarbonsModule.CarbonReceivedHandler.CarbonReceivedEvent
      extends JaxmppEvent<MessageCarbonsModule.CarbonReceivedHandler>

- - ### Field Summary

    - ### Fields inherited from class tigase.jaxmpp.core.client.eventbus.JaxmppEvent

      `sessionObject`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CarbonReceivedEvent(SessionObject sessionObject, MessageCarbonsModule.CarbonEventType carbonType, Message encapsulatedMessage, Chat chat)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `dispatch(MessageCarbonsModule.CarbonReceivedHandler handler)` Invokes handlers method.
    `MessageCarbonsModule.CarbonEventType` | `getCarbonType()`
    `Chat` | `getChat()`
    `Message` | `getEncapsulatedMessage()`
    `void` | `setCarbonType(MessageCarbonsModule.CarbonEventType carbonType)`
    `void` | `setChat(Chat chat)`
    `void` | `setEncapsulatedMessage(Message encapsulatedMessage)`

    - ### Methods inherited from class tigase.jaxmpp.core.client.eventbus.JaxmppEvent

      `getSessionObject`

    - ### Methods inherited from class tigase.jaxmpp.core.client.eventbus.Event

      `getSource`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CarbonReceivedEvent

          public CarbonReceivedEvent(SessionObject sessionObject,
                                     MessageCarbonsModule.CarbonEventType carbonType,
                                     Message encapsulatedMessage,
                                     Chat chat)

  - ### Method Detail

    - #### dispatch

          protected void dispatch(MessageCarbonsModule.CarbonReceivedHandler handler)

      Description copied from class: `Event`
      Invokes handlers method.
      Specified by:
        `dispatch` in class `Event<MessageCarbonsModule.CarbonReceivedHandler>`
      Parameters:
        `handler` - handler

    - #### getCarbonType

          public MessageCarbonsModule.CarbonEventType getCarbonType()

    - #### getChat

          public Chat getChat()

    - #### getEncapsulatedMessage

          public Message getEncapsulatedMessage()

    - #### setCarbonType

          public void setCarbonType(MessageCarbonsModule.CarbonEventType carbonType)

    - #### setChat

          public void setChat(Chat chat)

    - #### setEncapsulatedMessage

          public void setEncapsulatedMessage(Message encapsulatedMessage)

Copyright © 2006–2017 Tigase. All rights reserved.